Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -33,7 +33,7 @@ with gr.Blocks() as app:
|
|
| 33 |
with gr.Row():
|
| 34 |
btn=gr.Button("Make Image")
|
| 35 |
game_btn=gr.Button("Use Image")
|
| 36 |
-
out_im=gr.Image()
|
| 37 |
game_btn.click(game_fn,[out_im],html_game)
|
| 38 |
html_game = gr.HTML(html_mod)
|
| 39 |
btn.click(dif_fn,prompt,out_im)
|
|
|
|
| 33 |
with gr.Row():
|
| 34 |
btn=gr.Button("Make Image")
|
| 35 |
game_btn=gr.Button("Use Image")
|
| 36 |
+
out_im=gr.Image(type='filepath')
|
| 37 |
game_btn.click(game_fn,[out_im],html_game)
|
| 38 |
html_game = gr.HTML(html_mod)
|
| 39 |
btn.click(dif_fn,prompt,out_im)
|