Spaces:
Sleeping
Sleeping
add preview
Browse files
app.py
CHANGED
@@ -132,12 +132,12 @@ with gr.Blocks(
|
|
132 |
submit_btn.click(
|
133 |
fn=do_ocr,
|
134 |
inputs=[input_type, url_input],
|
135 |
-
outputs=[cleaned_output,
|
136 |
)
|
137 |
|
138 |
demo = gr.Interface(do_ocr,
|
139 |
inputs=[input_type, url_input],
|
140 |
-
outputs=[cleaned_output,
|
141 |
|
142 |
if __name__ == "__main__":
|
143 |
demo.launch()
|
|
|
132 |
submit_btn.click(
|
133 |
fn=do_ocr,
|
134 |
inputs=[input_type, url_input],
|
135 |
+
outputs=[cleaned_output, url_input]
|
136 |
)
|
137 |
|
138 |
demo = gr.Interface(do_ocr,
|
139 |
inputs=[input_type, url_input],
|
140 |
+
outputs=[cleaned_output, url_input])
|
141 |
|
142 |
if __name__ == "__main__":
|
143 |
demo.launch()
|