vericudebuget commited on
Commit
4024c60
·
verified ·
1 Parent(s): b910b4b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -44,6 +44,7 @@ def generate(
44
  for response in stream:
45
  output_text += response.token.text
46
  yield output_text, history # Yield the updated output_text and the updated history
 
47
 
48
  additional_inputs = [
49
  gr.Textbox(label="System Prompt", max_lines=1, interactive=True),
 
44
  for response in stream:
45
  output_text += response.token.text
46
  yield output_text, history # Yield the updated output_text and the updated history
47
+ yield output
48
 
49
  additional_inputs = [
50
  gr.Textbox(label="System Prompt", max_lines=1, interactive=True),