Sakalti commited on
Commit
a627b08
·
verified ·
1 Parent(s): 0af1d56

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -39,9 +39,9 @@ def respond(
39
  top_p=top_p,
40
  ):
41
  token = message.choices[0].delta.content
42
-
43
  response += token
44
- yield response
 
45
 
46
  # インターフェース
47
  demo = gr.ChatInterface(
 
39
  top_p=top_p,
40
  ):
41
  token = message.choices[0].delta.content
 
42
  response += token
43
+
44
+ return response
45
 
46
  # インターフェース
47
  demo = gr.ChatInterface(