garrethlee commited on
Commit
8190924
·
verified ·
1 Parent(s): 4436a43

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ def respond(
42
  eos_token_id=terminators,
43
  )
44
 
45
- yield outputs[0]["generated_text"][-1]
46
 
47
  """
48
  For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
 
42
  eos_token_id=terminators,
43
  )
44
 
45
+ yield outputs[0]["generated_text"][-1]["content"]
46
 
47
  """
48
  For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface