Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -227,7 +227,7 @@ def main():
|
|
| 227 |
</p>
|
| 228 |
<div style="display: flex; justify-content: center; gap: 20px; margin: 15px 0;">
|
| 229 |
<a href="https://huggingface.co/Logics-MLLM/Logics-Parsing" target="_blank" style="text-decoration: none; color: #2563eb; font-weight: 500;">
|
| 230 |
-
|
| 231 |
</a>
|
| 232 |
<a href="https://github.com/alibaba/Logics-Parsing" target="_blank" style="text-decoration: none; color: #2563eb; font-weight: 500;">
|
| 233 |
💻 GitHub
|
|
@@ -244,7 +244,7 @@ def main():
|
|
| 244 |
with gr.Column(scale=1):
|
| 245 |
model_choice = gr.Dropdown(
|
| 246 |
choices=["Logics-Parsing", "Gliese-OCR-7B-Post1.0"],
|
| 247 |
-
label="Select Model",
|
| 248 |
value="Logics-Parsing"
|
| 249 |
)
|
| 250 |
file_input = gr.File(
|
|
@@ -269,7 +269,7 @@ def main():
|
|
| 269 |
if f.endswith(tuple(pdf_suffixes + image_suffixes))
|
| 270 |
]
|
| 271 |
if example_files:
|
| 272 |
-
with gr.Accordion("Open Examples", open=False):
|
| 273 |
gr.Examples(
|
| 274 |
examples=example_files,
|
| 275 |
inputs=file_input,
|
|
|
|
| 227 |
</p>
|
| 228 |
<div style="display: flex; justify-content: center; gap: 20px; margin: 15px 0;">
|
| 229 |
<a href="https://huggingface.co/Logics-MLLM/Logics-Parsing" target="_blank" style="text-decoration: none; color: #2563eb; font-weight: 500;">
|
| 230 |
+
🤗 Hugging Face Model
|
| 231 |
</a>
|
| 232 |
<a href="https://github.com/alibaba/Logics-Parsing" target="_blank" style="text-decoration: none; color: #2563eb; font-weight: 500;">
|
| 233 |
💻 GitHub
|
|
|
|
| 244 |
with gr.Column(scale=1):
|
| 245 |
model_choice = gr.Dropdown(
|
| 246 |
choices=["Logics-Parsing", "Gliese-OCR-7B-Post1.0"],
|
| 247 |
+
label="Select Model⚡️",
|
| 248 |
value="Logics-Parsing"
|
| 249 |
)
|
| 250 |
file_input = gr.File(
|
|
|
|
| 269 |
if f.endswith(tuple(pdf_suffixes + image_suffixes))
|
| 270 |
]
|
| 271 |
if example_files:
|
| 272 |
+
with gr.Accordion("Open Examples🧩", open=False):
|
| 273 |
gr.Examples(
|
| 274 |
examples=example_files,
|
| 275 |
inputs=file_input,
|