Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -124,9 +124,7 @@ with gr.Blocks() as demo:
|
|
| 124 |
time.sleep(1)
|
| 125 |
return session_index
|
| 126 |
|
| 127 |
-
|
| 128 |
-
personalized_data = fetch_personalized_data(session_index)
|
| 129 |
-
print(personalized_data)
|
| 130 |
|
| 131 |
msg.submit(user, inputs=[msg, url_params, chatbot], outputs=[msg, chatbot], queue=False).then(
|
| 132 |
fn=bot, inputs=[chatbot, url_params], outputs=[chatbot]
|
|
|
|
| 124 |
time.sleep(1)
|
| 125 |
return session_index
|
| 126 |
|
| 127 |
+
get_session_index(url_params)
|
|
|
|
|
|
|
| 128 |
|
| 129 |
msg.submit(user, inputs=[msg, url_params, chatbot], outputs=[msg, chatbot], queue=False).then(
|
| 130 |
fn=bot, inputs=[chatbot, url_params], outputs=[chatbot]
|