Update app.py
Browse files
app.py
CHANGED
@@ -108,7 +108,7 @@ with gr.Blocks() as app:
|
|
108 |
html_game = gr.HTML()
|
109 |
|
110 |
update_game.click(game_fn,[out_sky_url,out_star_url],html_game)
|
111 |
-
btn_sky.click(sky_fn,
|
112 |
-
btn_star.click(star_fn,
|
113 |
app.load(sky_fn,prompt_sky,[out_im_sky,out_sky_url]).then(game_fn,[out_sky_url],html_game)
|
114 |
app.queue(concurrency_count=10).launch()
|
|
|
108 |
html_game = gr.HTML()
|
109 |
|
110 |
update_game.click(game_fn,[out_sky_url,out_star_url],html_game)
|
111 |
+
btn_sky.click(sky_fn,prompt_sky,[out_im_sky,out_sky_url])
|
112 |
+
btn_star.click(star_fn,prompt_star,[out_im_star,out_star_url])
|
113 |
app.load(sky_fn,prompt_sky,[out_im_sky,out_sky_url]).then(game_fn,[out_sky_url],html_game)
|
114 |
app.queue(concurrency_count=10).launch()
|