Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
|