torileatherman commited on
Commit
a3435d2
1 Parent(s): 5a72153

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -68,12 +68,12 @@ suggestion_demo = gr.Interface(
68
  )
69
 
70
  with gr.Blocks() as manual_label_demo:
 
71
  generate_btn = gr.Button('Show me a headline!')
72
  generate_btn.click(fn=manual_label, outputs=[gr.Textbox(label="News Headline"),gr.Textbox(label="Our Predicted Sentiment")])
73
  drop_down_label = gr.Dropdown(["Positive","Negative","Neutral"], label="Select the true sentiment of the news article.")
74
  submit_btn = gr.Button('Submit your sentiment!')
75
- submit_btn.click(fn=thanks, inputs=drop_down_label, outputs=gr.Textbox()),
76
- description = description2
77
 
78
  manual_label_demo1 = gr.Interface(
79
  fn=thanks,
 
68
  )
69
 
70
  with gr.Blocks() as manual_label_demo:
71
+ description = description2
72
  generate_btn = gr.Button('Show me a headline!')
73
  generate_btn.click(fn=manual_label, outputs=[gr.Textbox(label="News Headline"),gr.Textbox(label="Our Predicted Sentiment")])
74
  drop_down_label = gr.Dropdown(["Positive","Negative","Neutral"], label="Select the true sentiment of the news article.")
75
  submit_btn = gr.Button('Submit your sentiment!')
76
+ submit_btn.click(fn=thanks, inputs=drop_down_label, outputs=gr.Textbox())
 
77
 
78
  manual_label_demo1 = gr.Interface(
79
  fn=thanks,