Update app.py
Browse files
app.py
CHANGED
|
@@ -74,7 +74,7 @@ def bot(history):
|
|
| 74 |
history[-1][1] = ""
|
| 75 |
for character in bot_message:
|
| 76 |
history[-1][1] += character
|
| 77 |
-
time.sleep(0.
|
| 78 |
yield history
|
| 79 |
|
| 80 |
# Define Gradio Blocks interface
|
|
|
|
| 74 |
history[-1][1] = ""
|
| 75 |
for character in bot_message:
|
| 76 |
history[-1][1] += character
|
| 77 |
+
time.sleep(0.01) # Reduced sleep time to make response appear faster
|
| 78 |
yield history
|
| 79 |
|
| 80 |
# Define Gradio Blocks interface
|