wira.indra commited on
Commit
28c232f
·
1 Parent(s): b99df17

add twitter feature

Browse files
Files changed (1) hide show
  1. app.py +0 -22
app.py CHANGED
@@ -78,28 +78,6 @@ if __name__ == "__main__":
78
  sent_output = gr.Label(label="Sentiment Analysis")
79
  ner_output = gr.HighlightedText(label="Named Entity Recognition")
80
 
81
- # sentiment_demo = gr.Interface(
82
- # fn=sentiment_analysis,
83
- # inputs="text",
84
- # outputs="label"
85
- # )
86
-
87
- # ner_demo = gr.Interface(
88
- # ner,
89
- # "text",
90
- # gr.HighlightedText(),
91
- # examples=examples,
92
- # allow_flagging='never'
93
- # )
94
-
95
- # Parallel(
96
- # sentiment_demo, ner_demo,
97
- # inputs=gr.Textbox(lines=10, label="Input Text", placeholder="Enter sentences here..."),
98
- # examples=examples
99
- # )
100
-
101
- # gr.InterfaceList([sentiment_demo, ner_demo])
102
-
103
  with gr.Tab("Twitter"):
104
  with gr.Blocks():
105
  with gr.Row():
 
78
  sent_output = gr.Label(label="Sentiment Analysis")
79
  ner_output = gr.HighlightedText(label="Named Entity Recognition")
80
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
  with gr.Tab("Twitter"):
82
  with gr.Blocks():
83
  with gr.Row():