skumar9 commited on
Commit
374f7fb
1 Parent(s): d227bc9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -60,6 +60,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
60
 
61
  chatbot = gr.Chatbot(label='Jivi')
62
  msg = gr.Textbox(label='Patient')
 
63
  clear = gr.ClearButton([msg, chatbot])
64
  msg.submit(respond, [msg, chatbot,url_params], [msg, chatbot],_js=get_window_url_params)
65
 
 
60
 
61
  chatbot = gr.Chatbot(label='Jivi')
62
  msg = gr.Textbox(label='Patient')
63
+ url_params = gr.JSON({}, visible=False, label="URL Params")
64
  clear = gr.ClearButton([msg, chatbot])
65
  msg.submit(respond, [msg, chatbot,url_params], [msg, chatbot],_js=get_window_url_params)
66