Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ def streaming_response(user_input, history):
|
|
| 6 |
response = chatbot_response(user_input, history)
|
| 7 |
for i in range(len(response)):
|
| 8 |
time.sleep(0.1)
|
| 9 |
-
yield response[:i+
|
| 10 |
|
| 11 |
#Response
|
| 12 |
def chatbot_response(user_input, history):
|
|
|
|
| 6 |
response = chatbot_response(user_input, history)
|
| 7 |
for i in range(len(response)):
|
| 8 |
time.sleep(0.1)
|
| 9 |
+
yield response[:i + 3]
|
| 10 |
|
| 11 |
#Response
|
| 12 |
def chatbot_response(user_input, history):
|