Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -69,7 +69,7 @@ def respond(
|
|
69 |
if is_reasoning_end:
|
70 |
response += '> **End thinking**\n\n'
|
71 |
is_reasoning_end = False
|
72 |
-
token = event.choices[0].delta.
|
73 |
response += token
|
74 |
yield response
|
75 |
except Exception as e:
|
|
|
69 |
if is_reasoning_end:
|
70 |
response += '> **End thinking**\n\n'
|
71 |
is_reasoning_end = False
|
72 |
+
token = event.choices[0].delta.content
|
73 |
response += token
|
74 |
yield response
|
75 |
except Exception as e:
|