Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -71,9 +71,7 @@ with gr.Blocks(js=js) as demo:
|
|
| 71 |
if "hi" in history[-1][0]:
|
| 72 |
session_index = url_params.get('session_index')
|
| 73 |
if session_index: # Check if session_index is not None or empty
|
| 74 |
-
bot_message = f"""
|
| 75 |
-
{session_index}
|
| 76 |
-
"""
|
| 77 |
else:
|
| 78 |
bot_message = "Session index is missing."
|
| 79 |
else:
|
|
|
|
| 71 |
if "hi" in history[-1][0]:
|
| 72 |
session_index = url_params.get('session_index')
|
| 73 |
if session_index: # Check if session_index is not None or empty
|
| 74 |
+
bot_message = f"""{session_index}"""
|
|
|
|
|
|
|
| 75 |
else:
|
| 76 |
bot_message = "Session index is missing."
|
| 77 |
else:
|