Spaces:
Running
Running
davoodwadi
commited on
Commit
•
d56b7ea
1
Parent(s):
31b44f7
Upload app.py
Browse files
app.py
CHANGED
@@ -101,7 +101,7 @@ def adverse(message, history):
|
|
101 |
try:
|
102 |
response+=chunk.choices[0].delta.content
|
103 |
total_response+=chunk.choices[0].delta.content
|
104 |
-
time.sleep(1)
|
105 |
# print(f'chunk: {chunk}')
|
106 |
yield total_response
|
107 |
except Exception as e:
|
|
|
101 |
try:
|
102 |
response+=chunk.choices[0].delta.content
|
103 |
total_response+=chunk.choices[0].delta.content
|
104 |
+
# time.sleep(1)
|
105 |
# print(f'chunk: {chunk}')
|
106 |
yield total_response
|
107 |
except Exception as e:
|