Spaces:
Runtime error
Runtime error
fix
Browse files
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)
|