Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -211,7 +211,7 @@ async def websocket_endpoint(websocket: WebSocket):
|
|
211 |
await stream_response()
|
212 |
except Exception as e:
|
213 |
print(f"Error during message handling: {e}")
|
214 |
-
await websocket.send_json({'response': "Something went wrong, Please try again.."})
|
215 |
except WebSocketDisconnect:
|
216 |
print(f"Client disconnected: {websocket.client}")
|
217 |
if session_id:
|
|
|
211 |
await stream_response()
|
212 |
except Exception as e:
|
213 |
print(f"Error during message handling: {e}")
|
214 |
+
await websocket.send_json({'response': "Something went wrong, Please try again.." + str(e)})
|
215 |
except WebSocketDisconnect:
|
216 |
print(f"Client disconnected: {websocket.client}")
|
217 |
if session_id:
|