Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -60,7 +60,7 @@ def respond(
|
|
60 |
response += '> **End thinking**\n\n'
|
61 |
is_reasoning_end = False
|
62 |
token = event.choices[0].delta.content# Wrap content in a span with a normal color
|
63 |
-
response +=
|
64 |
yield response
|
65 |
except Exception as e:
|
66 |
raise gr.Error(f"发生错误: {str(e)}")
|
|
|
60 |
response += '> **End thinking**\n\n'
|
61 |
is_reasoning_end = False
|
62 |
token = event.choices[0].delta.content# Wrap content in a span with a normal color
|
63 |
+
response += token
|
64 |
yield response
|
65 |
except Exception as e:
|
66 |
raise gr.Error(f"发生错误: {str(e)}")
|