wira.indra commited on
Commit
e332fe8
1 Parent(s): 1df8439

add twitter feature

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -69,11 +69,11 @@ if __name__ == "__main__":
69
  with gr.Tab("Single Input"):
70
  with gr.Row():
71
  with gr.Column():
72
- input_text = gr.TextBox(label="Input Text")
73
  analyze_button = gr.Button(label="Analyze")
74
  with gr.Column():
75
- sent_output = gr.TextBox(label="Sentiment Analysis")
76
- ner_output = gr.TextBox(label="Named Entity Recognition")
77
 
78
  analyze_button.click(sentiment_analysis, input_text, [sent_output, ner_output])
79
 
 
69
  with gr.Tab("Single Input"):
70
  with gr.Row():
71
  with gr.Column():
72
+ input_text = gr.Textbox(label="Input Text")
73
  analyze_button = gr.Button(label="Analyze")
74
  with gr.Column():
75
+ sent_output = gr.Textbox(label="Sentiment Analysis")
76
+ ner_output = gr.Textbox(label="Named Entity Recognition")
77
 
78
  analyze_button.click(sentiment_analysis, input_text, [sent_output, ner_output])
79