Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -338,6 +338,7 @@ def chat(question, manual, history, liked):
|
|
338 |
try:
|
339 |
if chunk.choices[0].delta.content is not None:
|
340 |
partial_response += chunk.choices[0].delta.content
|
|
|
341 |
yield partial_response, history + [(question, partial_response)]
|
342 |
except:
|
343 |
pass
|
|
|
338 |
try:
|
339 |
if chunk.choices[0].delta.content is not None:
|
340 |
partial_response += chunk.choices[0].delta.content
|
341 |
+
print("Answer:--- %s seconds ---" % (time.time() - start_time))
|
342 |
yield partial_response, history + [(question, partial_response)]
|
343 |
except:
|
344 |
pass
|