Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -25,7 +25,7 @@ html_mod=f"""
|
|
| 25 |
<div id="demo">
|
| 26 |
<iframe
|
| 27 |
id="myIframe"
|
| 28 |
-
src="https://omnibus-game-test-static.static.hf.space?sky=
|
| 29 |
frameborder="0"
|
| 30 |
width="100%"
|
| 31 |
height="100%"
|
|
@@ -36,6 +36,7 @@ with open("tmp.html","w") as f:
|
|
| 36 |
f.close
|
| 37 |
with open("tmp.html","r") as f:
|
| 38 |
out = f.read()
|
|
|
|
| 39 |
|
| 40 |
with gr.Blocks() as app:
|
| 41 |
gr.HTML(out)
|
|
|
|
| 25 |
<div id="demo">
|
| 26 |
<iframe
|
| 27 |
id="myIframe"
|
| 28 |
+
src="https://omnibus-game-test-static.static.hf.space?sky=https://huggingface.co/spaces/Omnibus/game-test/resolve/main/assets/sky.png&platform={platform}&star={star}&bomb={bomb}&dude={dude}"
|
| 29 |
frameborder="0"
|
| 30 |
width="100%"
|
| 31 |
height="100%"
|
|
|
|
| 36 |
f.close
|
| 37 |
with open("tmp.html","r") as f:
|
| 38 |
out = f.read()
|
| 39 |
+
print(out)
|
| 40 |
|
| 41 |
with gr.Blocks() as app:
|
| 42 |
gr.HTML(out)
|