Update app.py
Browse files
app.py
CHANGED
@@ -34,8 +34,8 @@ with gr.Blocks() as app:
|
|
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)
|
40 |
app.load(game_fn,None,html_game)
|
41 |
app.launch()
|
|
|
34 |
btn=gr.Button("Make Image")
|
35 |
game_btn=gr.Button("Use Image")
|
36 |
out_im=gr.Image(type='filepath')
|
|
|
37 |
html_game = gr.HTML(html_mod)
|
38 |
+
game_btn.click(game_fn,[out_im],html_game)
|
39 |
btn.click(dif_fn,prompt,out_im)
|
40 |
app.load(game_fn,None,html_game)
|
41 |
app.launch()
|