coffeeee commited on
Commit
e0ac7a0
1 Parent(s): 0ebfd48
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -65,7 +65,7 @@ with gr.Blocks() as demo:
65
  # undo_button = gr.Button("Undo")
66
  res_button = gr.Button("Reset")
67
 
68
- prompt.submit(generate_response, prompt, story, scroll_to_output=True)
69
  gen_button.click(generate_response, [story, prompt], story, scroll_to_output=True)
70
  # undo_button.click(undo, [], story, scroll_to_output=True)
71
  res_button.click(reset, [], story, scroll_to_output=True)
 
65
  # undo_button = gr.Button("Undo")
66
  res_button = gr.Button("Reset")
67
 
68
+ prompt.submit(generate_response, [story, prompt], story, scroll_to_output=True)
69
  gen_button.click(generate_response, [story, prompt], story, scroll_to_output=True)
70
  # undo_button.click(undo, [], story, scroll_to_output=True)
71
  res_button.click(reset, [], story, scroll_to_output=True)