Spaces:
Running
Running
Joaquin Villar
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -79,8 +79,7 @@ def predict(text):
|
|
| 79 |
return f"# {pred_label}", badge_html, class_probs
|
| 80 |
|
| 81 |
# --- 4. UI LAYOUT (gr.Blocks) ---
|
| 82 |
-
|
| 83 |
-
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
| 84 |
|
| 85 |
# Title
|
| 86 |
gr.Markdown("# 📰 NLP News Classifier")
|
|
|
|
| 79 |
return f"# {pred_label}", badge_html, class_probs
|
| 80 |
|
| 81 |
# --- 4. UI LAYOUT (gr.Blocks) ---
|
| 82 |
+
with gr.Blocks() as demo:
|
|
|
|
| 83 |
|
| 84 |
# Title
|
| 85 |
gr.Markdown("# 📰 NLP News Classifier")
|