Spaces:
Runtime error
Runtime error
venkat-srinivasan-nexusflow
commited on
Commit
β’
f0bf145
1
Parent(s):
6c00aa7
Update app.py
Browse files
app.py
CHANGED
@@ -359,7 +359,7 @@ class RavenDemo(gr.Blocks):
|
|
359 |
for s in stream:
|
360 |
for c in s:
|
361 |
raven_function_call += c
|
362 |
-
raven_function_call = raven_function_call.removesuffix("<bot_end>")
|
363 |
yield get_returns()
|
364 |
|
365 |
raw_raven_response = raven_function_call
|
|
|
359 |
for s in stream:
|
360 |
for c in s:
|
361 |
raven_function_call += c
|
362 |
+
raven_function_call = raven_function_call.removesuffix("Thought:").removesuffix("<bot_end>")
|
363 |
yield get_returns()
|
364 |
|
365 |
raw_raven_response = raven_function_call
|