ww commited on
Commit
7eed2f8
·
1 Parent(s): a3e591d
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -36,10 +36,10 @@ def respond(
36
  temperature=temperature,
37
  top_p=top_p,
38
  ):
39
- token = message.choices[0].delta.content
40
 
41
- response += token
42
- yield response
43
 
44
  """
45
  For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
 
36
  temperature=temperature,
37
  top_p=top_p,
38
  ):
39
+ token = message.choices[0].delta.content
40
 
41
+ response += token
42
+ yield response
43
 
44
  """
45
  For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface