Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -126,8 +126,7 @@ with gr.Blocks() as app:
|
|
| 126 |
header = gr.Checkbox(label="Include header?", value=True)
|
| 127 |
rand.change(check_rand, inputs=[rand, seed], outputs=seed)
|
| 128 |
btn.click(chat_inf, inputs=[sys_inp, inp, chat_b, memory, client_choice, seed, temp, tokens, top_p, rep_p, chat_mem, custom_prompt], outputs=[chat_b, memory])
|
| 129 |
-
stop_btn.click(lambda: None, []
|
| 130 |
-
clear_btn.click(clear_fn, []
|
| 131 |
-
im_btn.click(get_screenshot, inputs=[chat_b, im_height, im_width, chatblock, theme, wait_time, header], outputs=img)
|
| 132 |
|
| 133 |
app.launch()
|
|
|
|
| 126 |
header = gr.Checkbox(label="Include header?", value=True)
|
| 127 |
rand.change(check_rand, inputs=[rand, seed], outputs=seed)
|
| 128 |
btn.click(chat_inf, inputs=[sys_inp, inp, chat_b, memory, client_choice, seed, temp, tokens, top_p, rep_p, chat_mem, custom_prompt], outputs=[chat_b, memory])
|
| 129 |
+
stop_btn.click(lambda: None, [])
|
| 130 |
+
clear_btn.click(clear_fn, [])
|
|
|
|
| 131 |
|
| 132 |
app.launch()
|