Spaces:
Sleeping
Sleeping
remove print statement
Browse files
app.py
CHANGED
@@ -128,7 +128,6 @@ def handle_message(data):
|
|
128 |
question = data.get('question')
|
129 |
try:
|
130 |
for chunk in rag_chain.stream(question):
|
131 |
-
print(chunk)
|
132 |
emit('response', chunk, room=request.sid)
|
133 |
except Exception as e:
|
134 |
emit('response', {"error": "An error occurred while processing your request."}, room=request.sid)
|
|
|
128 |
question = data.get('question')
|
129 |
try:
|
130 |
for chunk in rag_chain.stream(question):
|
|
|
131 |
emit('response', chunk, room=request.sid)
|
132 |
except Exception as e:
|
133 |
emit('response', {"error": "An error occurred while processing your request."}, room=request.sid)
|