Spaces:
Running
Running
yuntian-deng
commited on
Commit
•
5ab4975
1
Parent(s):
e2157b2
Update app.py
Browse files
app.py
CHANGED
@@ -85,8 +85,8 @@ def predict(inputs, top_p, temperature, chat_counter, chatbot, history, request:
|
|
85 |
# raise Exception(f"Sorry, hitting rate limit. Please try again later. {response}")
|
86 |
|
87 |
for chunk in response.iter_lines():
|
88 |
-
print (chunk)
|
89 |
-
sys.stdout.flush()
|
90 |
#Skipping first chunk
|
91 |
if counter == 0:
|
92 |
counter += 1
|
|
|
85 |
# raise Exception(f"Sorry, hitting rate limit. Please try again later. {response}")
|
86 |
|
87 |
for chunk in response.iter_lines():
|
88 |
+
#print (chunk)
|
89 |
+
#sys.stdout.flush()
|
90 |
#Skipping first chunk
|
91 |
if counter == 0:
|
92 |
counter += 1
|