Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
|
|
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(
|