prateekbh commited on
Commit
2eee6e2
·
verified ·
1 Parent(s): 791738a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -91,8 +91,9 @@ def response(history, image):
91
  for new_token in streamer:
92
  partial_response += new_token
93
  history[-1][1] = partial_response
94
- gr.Info('Got:' + partial_response)
95
  yield history
 
 
96
 
97
  def resize_image(image):
98
  image = image.convert('RGB')
 
91
  for new_token in streamer:
92
  partial_response += new_token
93
  history[-1][1] = partial_response
 
94
  yield history
95
+ gr.Info('Got:' + partial_response)
96
+ return history
97
 
98
  def resize_image(image):
99
  image = image.convert('RGB')