bright1 commited on
Commit
2dcac3c
1 Parent(s): 33dd394

Updated app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -65,12 +65,13 @@ def sentiment_analysis(model_type, text):
65
 
66
 
67
  model_type = gr.Dropdown(choices=['distilbert', 'roberta'], label='Select model type', allow_custom_value=False, value='roberta')
68
- #Gradio app interface
 
69
  #Gradio app interface
70
  demo = gr.Interface(fn = sentiment_analysis,
71
  inputs = [model_type, gr.TextArea("Write your text or tweet here", label="Analyze your COVID-19 tweets" )],
72
  outputs = ["label"],
73
- title = "NLP Sentiment Analysis - Zindi Challenge",
74
  description = "COVID-19 Tweets Analyzer",
75
  interpretation = "default",
76
  examples = [['roberta', "Being vaccinated is actually awesome :)"]]
 
65
 
66
 
67
  model_type = gr.Dropdown(choices=['distilbert', 'roberta'], label='Select model type', allow_custom_value=False, value='roberta')
68
+
69
+
70
  #Gradio app interface
71
  demo = gr.Interface(fn = sentiment_analysis,
72
  inputs = [model_type, gr.TextArea("Write your text or tweet here", label="Analyze your COVID-19 tweets" )],
73
  outputs = ["label"],
74
+ title = "COVID-19 Vaccine Tweet Analyzer App",
75
  description = "COVID-19 Tweets Analyzer",
76
  interpretation = "default",
77
  examples = [['roberta', "Being vaccinated is actually awesome :)"]]