Update app.py
Browse files
app.py
CHANGED
|
@@ -44,7 +44,7 @@ def game_fn(sky=sky,star=star,bomb=bomb,platform=platform,dude=dude):
|
|
| 44 |
height="100%"
|
| 45 |
></iframe>
|
| 46 |
</div>"""
|
| 47 |
-
return gr.update(f'{html_mod}')
|
| 48 |
|
| 49 |
def update_game(inp):
|
| 50 |
return game_fn(sky=sky)
|
|
@@ -336,7 +336,7 @@ with gr.Blocks() as app:
|
|
| 336 |
with gr.Row(visible=False):
|
| 337 |
get_score=gr.Button("Get Score")
|
| 338 |
score=gr.Textbox()
|
| 339 |
-
url_params=gr.Textbox()
|
| 340 |
with gr.Row(visible=False):
|
| 341 |
text_input=gr.Textbox()
|
| 342 |
url_params = gr.JSON({}, visible=True, label="")
|
|
|
|
| 44 |
height="100%"
|
| 45 |
></iframe>
|
| 46 |
</div>"""
|
| 47 |
+
return gr.HTML.update(f'{html_mod}')
|
| 48 |
|
| 49 |
def update_game(inp):
|
| 50 |
return game_fn(sky=sky)
|
|
|
|
| 336 |
with gr.Row(visible=False):
|
| 337 |
get_score=gr.Button("Get Score")
|
| 338 |
score=gr.Textbox()
|
| 339 |
+
#url_params=gr.Textbox()
|
| 340 |
with gr.Row(visible=False):
|
| 341 |
text_input=gr.Textbox()
|
| 342 |
url_params = gr.JSON({}, visible=True, label="")
|