Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -358,7 +358,7 @@ def create_gradio_interface():
|
|
| 358 |
process_btn.click(
|
| 359 |
fn=process_document_stream,
|
| 360 |
inputs=[model_choice, image_input_doc, prompt_input_doc, max_new_tokens, temperature, top_p, top_k, repetition_penalty],
|
| 361 |
-
outputs=[output_stream
|
| 362 |
)
|
| 363 |
clear_btn.click(lambda: (None, "", ""), outputs=[image_input_doc, prompt_input_doc, output_stream, markdown_output])
|
| 364 |
|
|
|
|
| 358 |
process_btn.click(
|
| 359 |
fn=process_document_stream,
|
| 360 |
inputs=[model_choice, image_input_doc, prompt_input_doc, max_new_tokens, temperature, top_p, top_k, repetition_penalty],
|
| 361 |
+
outputs=[output_stream]
|
| 362 |
)
|
| 363 |
clear_btn.click(lambda: (None, "", ""), outputs=[image_input_doc, prompt_input_doc, output_stream, markdown_output])
|
| 364 |
|