radames commited on
Commit
d4d97b7
·
1 Parent(s): d0d6a68

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -33,6 +33,10 @@ with gr.Blocks() as block:
33
  btn2 = gr.Button("Set Params")
34
  btn2.click(fn=predict, inputs=[text_input, url_params],
35
  outputs=[text_output, url_params], _js=set_window_url_params)
36
- block.load(fn=predict, inputs=[text_input, url_params],
37
- outputs=[text_output, url_params], _js=get_window_url_params)
 
 
 
 
38
  block.launch(debug=True)
 
33
  btn2 = gr.Button("Set Params")
34
  btn2.click(fn=predict, inputs=[text_input, url_params],
35
  outputs=[text_output, url_params], _js=set_window_url_params)
36
+ block.load(
37
+ fn=predict,
38
+ inputs=[text_input, url_params],
39
+ outputs=[url_params, markdown],
40
+ _js=get_window_url_params
41
+ )
42
  block.launch(debug=True)