torileatherman commited on
Commit
a45cbb9
·
1 Parent(s): ec4e034

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -74,10 +74,6 @@ description1 = '''
74
  Enter your preference of what type of news articles you would like recommended to you today: Positive, Negative, or Neutral.
75
  '''
76
 
77
- description2 = '''
78
- This application will show you a random news headline and our predicted sentiment.
79
- In order to improve our model, mark the real sentiment of this headline!
80
- '''
81
 
82
  suggestion_demo = gr.Interface(
83
  fn=article_selection,
@@ -89,7 +85,7 @@ suggestion_demo = gr.Interface(
89
  )
90
 
91
  with gr.Blocks() as manual_label_demo:
92
- gr.Markdown("description2")
93
  generate_btn = gr.Button('Show me a headline!')
94
  generate_btn.click(fn=manual_label, outputs=[gr.Textbox(label="News Headline"),gr.Textbox(label="Our Predicted Sentiment")])
95
  drop_down_label = gr.Dropdown(["Positive","Negative","Neutral"], label="Select the true sentiment of the news article.")
 
74
  Enter your preference of what type of news articles you would like recommended to you today: Positive, Negative, or Neutral.
75
  '''
76
 
 
 
 
 
77
 
78
  suggestion_demo = gr.Interface(
79
  fn=article_selection,
 
85
  )
86
 
87
  with gr.Blocks() as manual_label_demo:
88
+ gr.Markdown("This application will show you a random news headline and our predicted sentiment. In order to improve our model, mark the real sentiment of this headline!")
89
  generate_btn = gr.Button('Show me a headline!')
90
  generate_btn.click(fn=manual_label, outputs=[gr.Textbox(label="News Headline"),gr.Textbox(label="Our Predicted Sentiment")])
91
  drop_down_label = gr.Dropdown(["Positive","Negative","Neutral"], label="Select the true sentiment of the news article.")