Spaces:
Running on Zero
Running on Zero
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
|
@@ -83,7 +83,7 @@ CSS = """
|
|
| 83 |
.dark .gradio-container { color: var(--body-text-color); }
|
| 84 |
"""
|
| 85 |
|
| 86 |
-
with gr.Blocks(
|
| 87 |
with gr.Column(elem_id="col-container"):
|
| 88 |
gr.Markdown("# PP-OCRv6 Medium Text Recognition")
|
| 89 |
gr.Markdown(
|
|
@@ -131,4 +131,4 @@ with gr.Blocks(theme=gr.themes.Citrus(), css=CSS) as demo:
|
|
| 131 |
|
| 132 |
|
| 133 |
if __name__ == "__main__":
|
| 134 |
-
demo.launch(mcp_server=True)
|
|
|
|
| 83 |
.dark .gradio-container { color: var(--body-text-color); }
|
| 84 |
"""
|
| 85 |
|
| 86 |
+
with gr.Blocks() as demo:
|
| 87 |
with gr.Column(elem_id="col-container"):
|
| 88 |
gr.Markdown("# PP-OCRv6 Medium Text Recognition")
|
| 89 |
gr.Markdown(
|
|
|
|
| 131 |
|
| 132 |
|
| 133 |
if __name__ == "__main__":
|
| 134 |
+
demo.launch(mcp_server=True, theme=gr.themes.Citrus(), css=CSS)
|