Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -42,6 +42,11 @@ def analyze_text(text):
|
|
| 42 |
"Emotions": emotion_scores
|
| 43 |
}, "emotion_chart.png"
|
| 44 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
# Gradio interface
|
| 46 |
demo = gr.Interface(
|
| 47 |
fn=analyze_text,
|
|
|
|
| 42 |
"Emotions": emotion_scores
|
| 43 |
}, "emotion_chart.png"
|
| 44 |
|
| 45 |
+
with gr.Blocks(title="K1ng Analyzer AI") as demo:
|
| 46 |
+
gr.Image("K1nganalyzer_logo.png", elem_id="logo", show_label=False, height=120)
|
| 47 |
+
gr.Markdown("### 🧠 Welcome to **K1ng Analyzer AI** — Smart Multilingual Emotion & Sentiment Analyzer 🌍")
|
| 48 |
+
# (Your interface components go here)
|
| 49 |
+
|
| 50 |
# Gradio interface
|
| 51 |
demo = gr.Interface(
|
| 52 |
fn=analyze_text,
|