Spaces:
Sleeping
Sleeping
Update app.py
Browse files119 unmodified lines1201211221231241251266 unmodified lines133134135136137119 unmodified linestext_output = gr.Textbox(label="Extracted Text", lines=20)# Auto-run OCR when a PDF is uploadedpdf_input.change(fn=gradio_predict, inputs=[pdf_input], outputs=[text_output])# Simple API notegr.Markdown("""6 unmodified lines# On Spaces, the host/port are managed by the platform. Locally, this runs on 7860 by default.demo.launch()119 unmodified lines1201211221231241251266 unmodified lines133134135119 unmodified linestext_output = gr.Textbox(label="Extracted Text", lines=20)# Auto-run OCR when a PDF is uploadedpdf_input.change(fn=gradio_predict, inputs=[pdf_input], outputs=[text_output], api_name="predict")# Simple API notegr.Markdown("""6 unmodified lines# On Spaces, the host/port are managed by the platform. Locally, this runs on 7860 by default.demo.launch()
app.py+1-3