Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -274,7 +274,10 @@ def train_model(dataset_file: gr.File, batch_size: int, epochs: int, lr: float,
|
|
| 274 |
|
| 275 |
|
| 276 |
# --- Gradio Interface Setup (using Blocks for a nicer layout) ---
|
| 277 |
-
|
|
|
|
|
|
|
|
|
|
| 278 |
gr.Markdown("# ๐ LayoutLMv3 Fine-Tuning on Hugging Face Spaces")
|
| 279 |
gr.Markdown(
|
| 280 |
"""
|
|
|
|
| 274 |
|
| 275 |
|
| 276 |
# --- Gradio Interface Setup (using Blocks for a nicer layout) ---
|
| 277 |
+
# Removing title and theme from here prevents the __init__ crash
|
| 278 |
+
with gr.Blocks() as demo:
|
| 279 |
+
gr.Markdown("# ๐ LayoutLMv3 Fine-Tuning: MLP vs Linear Classifier")
|
| 280 |
+
gr.Markdown("### Training App by Aastik")
|
| 281 |
gr.Markdown("# ๐ LayoutLMv3 Fine-Tuning on Hugging Face Spaces")
|
| 282 |
gr.Markdown(
|
| 283 |
"""
|