Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -110,7 +110,7 @@ async def main(message: cl.Message):
|
|
110 |
logger.info("Message processed successfully")
|
111 |
except KeyError as e:
|
112 |
logger.error(f"Session error: {e}")
|
113 |
-
await cl.Message(content="
|
114 |
except Exception as e:
|
115 |
logger.error(f"Unexpected error: {e}")
|
116 |
await cl.Message(content="An unexpected error occurred. Please try again.").send()
|
|
|
110 |
logger.info("Message processed successfully")
|
111 |
except KeyError as e:
|
112 |
logger.error(f"Session error: {e}")
|
113 |
+
await cl.Message(content="Session is disconnected. Please restart the chat.").send()
|
114 |
except Exception as e:
|
115 |
logger.error(f"Unexpected error: {e}")
|
116 |
await cl.Message(content="An unexpected error occurred. Please try again.").send()
|