Spaces:
Runtime error
Runtime error
Commit
·
b59874b
1
Parent(s):
c8c8070
Update app.py
Browse files
app.py
CHANGED
|
@@ -67,6 +67,7 @@ def predict(inputs, top_p, temperature, chat_counter, chatbot=[], history=[]):
|
|
| 67 |
|
| 68 |
counter=0
|
| 69 |
for chunk in response.iter_lines():
|
|
|
|
| 70 |
#Skipping first chunk
|
| 71 |
if counter == 0:
|
| 72 |
counter+=1
|
|
|
|
| 67 |
|
| 68 |
counter=0
|
| 69 |
for chunk in response.iter_lines():
|
| 70 |
+
print(f"chunk - {chunk}")
|
| 71 |
#Skipping first chunk
|
| 72 |
if counter == 0:
|
| 73 |
counter+=1
|