Sami Ali commited on
Commit ·
282a679
1
Parent(s): e14f270
update theme
Browse files
app.py
CHANGED
|
@@ -14,14 +14,14 @@ with gr.Blocks(theme=gr.themes.Soft()) as app:
|
|
| 14 |
Enter a tweet below and find out if it's **Positive** or **Negative**.
|
| 15 |
_Model: Naive Bayes trained on NLTK Twitter samples_
|
| 16 |
"""
|
| 17 |
-
)
|
| 18 |
with gr.Row():
|
| 19 |
with gr.Column():
|
| 20 |
text = gr.Textbox(
|
| 21 |
placeholder="Type your tweet here...",
|
| 22 |
lines=3,
|
| 23 |
label="Your Tweet"
|
| 24 |
-
)
|
| 25 |
btn = gr.Button("🔍 Analyze Sentiment", variant="primary")
|
| 26 |
with gr.Column():
|
| 27 |
output = gr.Label(label="Prediction")
|
|
|
|
| 14 |
Enter a tweet below and find out if it's **Positive** or **Negative**.
|
| 15 |
_Model: Naive Bayes trained on NLTK Twitter samples_
|
| 16 |
"""
|
| 17 |
+
)
|
| 18 |
with gr.Row():
|
| 19 |
with gr.Column():
|
| 20 |
text = gr.Textbox(
|
| 21 |
placeholder="Type your tweet here...",
|
| 22 |
lines=3,
|
| 23 |
label="Your Tweet"
|
| 24 |
+
)
|
| 25 |
btn = gr.Button("🔍 Analyze Sentiment", variant="primary")
|
| 26 |
with gr.Column():
|
| 27 |
output = gr.Label(label="Prediction")
|