david-oplatka commited on
Commit
bd92b29
·
verified ·
1 Parent(s): b018ed8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -73,7 +73,7 @@ def respond(message, history):
73
  response = vq.submit_query(message)
74
  logging.debug(f"Chat response: {response}")
75
  logging.debug(f"Chat response type: {type(response)}")
76
- return response
77
 
78
  def random_fun(message, history):
79
  return message + '!'
 
73
  response = vq.submit_query(message)
74
  logging.debug(f"Chat response: {response}")
75
  logging.debug(f"Chat response type: {type(response)}")
76
+ yield response
77
 
78
  def random_fun(message, history):
79
  return message + '!'