venkat-srinivasan-nexusflow commited on
Commit
f0bf145
β€’
1 Parent(s): 6c00aa7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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