Update app.py
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ def analyze_message(message, custom_flagged_words, custom_positive_flags, custom
|
|
29 |
|
30 |
return sentiment_label, ", ".join(flagged_terms) if flagged_terms else "None"
|
31 |
|
32 |
-
|
33 |
gr.Markdown("## Messaging Sentiment analysis")
|
34 |
|
35 |
with gr.Row():
|
|
|
29 |
|
30 |
return sentiment_label, ", ".join(flagged_terms) if flagged_terms else "None"
|
31 |
|
32 |
+
with gr.Blocks() as demo:
|
33 |
gr.Markdown("## Messaging Sentiment analysis")
|
34 |
|
35 |
with gr.Row():
|