Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -31,10 +31,9 @@ def serve_static(path):
|
|
31 |
return send_from_directory("mario", path)
|
32 |
|
33 |
# Read the index.html file
|
|
|
34 |
def serve_game():
|
35 |
-
|
36 |
-
html_content = file.read()
|
37 |
-
return html_content
|
38 |
|
39 |
# Create a Gradio interface
|
40 |
iface = gr.Interface(
|
|
|
31 |
return send_from_directory("mario", path)
|
32 |
|
33 |
# Read the index.html file
|
34 |
+
no
|
35 |
def serve_game():
|
36 |
+
return '<iframe src="mario/index.html" width="800" height="600"></iframe>'
|
|
|
|
|
37 |
|
38 |
# Create a Gradio interface
|
39 |
iface = gr.Interface(
|