Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -66,7 +66,7 @@ def user_query_typing_effect(query, qa_chain, chatbot):
|
|
| 66 |
for i in range(len(assistant_response)):
|
| 67 |
history[-1]["content"] += assistant_response[i]
|
| 68 |
yield history, ""
|
| 69 |
-
time.sleep(0.
|
| 70 |
except Exception as e:
|
| 71 |
history.append({"role": "assistant", "content": f"Error: {str(e)}"})
|
| 72 |
yield history, ""
|
|
|
|
| 66 |
for i in range(len(assistant_response)):
|
| 67 |
history[-1]["content"] += assistant_response[i]
|
| 68 |
yield history, ""
|
| 69 |
+
time.sleep(0.03)
|
| 70 |
except Exception as e:
|
| 71 |
history.append({"role": "assistant", "content": f"Error: {str(e)}"})
|
| 72 |
yield history, ""
|