Update app.py
Browse files
app.py
CHANGED
@@ -289,7 +289,7 @@ with gr.Blocks() as app:
|
|
289 |
btn_sky.click(sky_fn,prompt_sky,[out_im_sky,out_sky_url])
|
290 |
btn_star.click(star_fn,prompt_star,[out_im_star,out_star_url])
|
291 |
btn_enemy.click(enemy_fn,prompt_enemy,[out_im_enemy,out_enemy_url])
|
292 |
-
app.load(predict,[text_input,url_params],[
|
293 |
|
294 |
#app.load(sky_fn,prompt_sky,[out_im_sky,out_sky_url]).then(game_fn,[out_sky_url],html_game)
|
295 |
app.queue(concurrency_count=10).launch()
|
|
|
289 |
btn_sky.click(sky_fn,prompt_sky,[out_im_sky,out_sky_url])
|
290 |
btn_star.click(star_fn,prompt_star,[out_im_star,out_star_url])
|
291 |
btn_enemy.click(enemy_fn,prompt_enemy,[out_im_enemy,out_enemy_url])
|
292 |
+
app.load(predict,[text_input,url_params],[text_input,acc], _js=get_window_url_params)
|
293 |
|
294 |
#app.load(sky_fn,prompt_sky,[out_im_sky,out_sky_url]).then(game_fn,[out_sky_url],html_game)
|
295 |
app.queue(concurrency_count=10).launch()
|