Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -43,9 +43,9 @@ def make_html_file(generated_level):
|
|
| 43 |
<script>
|
| 44 |
cheerpjInit().then(function () {{
|
| 45 |
cheerpjAddStringFile("/str/mylevel.txt", `{level_text}`);
|
|
|
|
|
|
|
| 46 |
}});
|
| 47 |
-
cheerpjCreateDisplay(512, 500);
|
| 48 |
-
cheerpjRunJar("/gradio_api/file=static/mario.jar");
|
| 49 |
</script>
|
| 50 |
</html>''')
|
| 51 |
return html_filename # Return just the filename
|
|
|
|
| 43 |
<script>
|
| 44 |
cheerpjInit().then(function () {{
|
| 45 |
cheerpjAddStringFile("/str/mylevel.txt", `{level_text}`);
|
| 46 |
+
cheerpjCreateDisplay(512, 500);
|
| 47 |
+
cheerpjRunJar("/gradio_api/file=static/mario.jar");
|
| 48 |
}});
|
|
|
|
|
|
|
| 49 |
</script>
|
| 50 |
</html>''')
|
| 51 |
return html_filename # Return just the filename
|