ww commited on
Commit
bd6e005
·
1 Parent(s): 7eed2f8
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -36,10 +36,9 @@ 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
+ response += token
41
+ yield response
 
42
 
43
  """
44
  For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface