soyleyicicem commited on
Commit
004e928
·
verified ·
1 Parent(s): 2a73dc5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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