torileatherman commited on
Commit
4846843
·
1 Parent(s): 6f92159

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -73,10 +73,7 @@ def thanks(sentiment):
73
 
74
  return f"""Thank you for making our model better! """
75
 
76
- description1 = '''
77
- This application recommends news articles depending on the sentiment of the headline.
78
- Enter your preference of what type of news articles you would like recommended to you today: Positive, Negative, or Neutral.
79
- '''
80
 
81
 
82
  suggestion_demo = gr.Interface(
@@ -85,7 +82,7 @@ suggestion_demo = gr.Interface(
85
  inputs = gr.Dropdown(["Positive","Negative","Neutral"], label="What type of news articles would you like recommended?"),
86
  outputs = "dataframe",
87
  #outputs = [gr.Textbox(label="Recommended News Articles (1/3)"),gr.Textbox(label="Recommended News Articles (2/3)"),gr.Textbox(label="Recommended News Articles (3/3)")],
88
- description = description1
89
  )
90
 
91
  with gr.Blocks() as manual_label_demo:
 
73
 
74
  return f"""Thank you for making our model better! """
75
 
76
+ description1 = "This application recommends news articles depending on the sentiment of the headline. Enter your preference of what type of news articles you would like recommended to you today: Positive, Negative, or Neutral."
 
 
 
77
 
78
 
79
  suggestion_demo = gr.Interface(
 
82
  inputs = gr.Dropdown(["Positive","Negative","Neutral"], label="What type of news articles would you like recommended?"),
83
  outputs = "dataframe",
84
  #outputs = [gr.Textbox(label="Recommended News Articles (1/3)"),gr.Textbox(label="Recommended News Articles (2/3)"),gr.Textbox(label="Recommended News Articles (3/3)")],
85
+ description = "This application recommends news articles depending on the sentiment of the headline. Enter your preference of what type of news articles you would like recommended to you today: Positive, Negative, or Neutral."
86
  )
87
 
88
  with gr.Blocks() as manual_label_demo: