Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -324,7 +324,7 @@ css = """
|
|
324 |
|
325 |
# Create the Gradio Interface
|
326 |
with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
327 |
-
gr.Markdown("# **[
|
328 |
with gr.Row():
|
329 |
with gr.Column():
|
330 |
with gr.Tabs():
|
@@ -353,7 +353,7 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
|
353 |
with gr.Column():
|
354 |
output = gr.Textbox(label="Output", interactive=False, lines=3, scale=2)
|
355 |
model_choice = gr.Radio(
|
356 |
-
choices=["Nanonets-OCR-s", "SmolDocling-256M-preview", "
|
357 |
label="Select Model",
|
358 |
value="Nanonets-OCR-s"
|
359 |
)
|
@@ -370,4 +370,4 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
|
370 |
)
|
371 |
|
372 |
if __name__ == "__main__":
|
373 |
-
demo.queue(max_size=
|
|
|
324 |
|
325 |
# Create the Gradio Interface
|
326 |
with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
327 |
+
gr.Markdown("# **[OCR Net 4x](https://huggingface.co/collections/prithivMLmods/multimodal-implementations-67c9982ea04b39f0608badb0)**")
|
328 |
with gr.Row():
|
329 |
with gr.Column():
|
330 |
with gr.Tabs():
|
|
|
353 |
with gr.Column():
|
354 |
output = gr.Textbox(label="Output", interactive=False, lines=3, scale=2)
|
355 |
model_choice = gr.Radio(
|
356 |
+
choices=["Nanonets-OCR-s", "SmolDocling-256M-preview", "Typhoon-OCR-7b", "MonkeyOCR-Recognition"],
|
357 |
label="Select Model",
|
358 |
value="Nanonets-OCR-s"
|
359 |
)
|
|
|
370 |
)
|
371 |
|
372 |
if __name__ == "__main__":
|
373 |
+
demo.queue(max_size=40).launch(share=True, mcp_server=True, ssr_mode=False, show_error=True)
|