Joaquin Villar commited on
Commit
dc2ff4f
·
verified ·
1 Parent(s): 4e6d87c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
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
- # We use Soft theme to match Streamlit's clean look
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")