Spaces:
Running
Running
minor fix
Browse files- app/main.py +1 -1
app/main.py
CHANGED
@@ -57,7 +57,7 @@ async def websocket_endpoint(websocket: WebSocket, client_id: int):
|
|
57 |
message = {"time":current_time,"clientId":client_id,"message":"Please, add a PDF document first."}
|
58 |
# await manager.broadcast(json.dumps(message))
|
59 |
await manager.send_personal_message(json.dumps(message), websocket)
|
60 |
-
else
|
61 |
print("FETCHING STREAM")
|
62 |
streaming_response = session_assistant.ask(data)
|
63 |
print("STARTING STREAM")
|
|
|
57 |
message = {"time":current_time,"clientId":client_id,"message":"Please, add a PDF document first."}
|
58 |
# await manager.broadcast(json.dumps(message))
|
59 |
await manager.send_personal_message(json.dumps(message), websocket)
|
60 |
+
else:
|
61 |
print("FETCHING STREAM")
|
62 |
streaming_response = session_assistant.ask(data)
|
63 |
print("STARTING STREAM")
|