wiraindrak commited on
Commit
6b923a7
·
1 Parent(s): 0fc2865

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -34,14 +34,14 @@ def ner(text):
34
 
35
  sentiment_demo = gr.Interface(
36
  fn=sentiment_analysis,
37
- inputs=gr.Textbox(placeholder="Enter sentence here...")
38
  outputs="label",
39
  interpretation="default",
40
  examples=[examples])
41
 
42
  ner_demo = gr.Interface(
43
  ner,
44
- gr.Textbox(placeholder="Enter sentence here...")
45
  gr.HighlightedText(),
46
  examples=[examples])
47
 
 
34
 
35
  sentiment_demo = gr.Interface(
36
  fn=sentiment_analysis,
37
+ inputs=gr.Textbox(placeholder="Enter sentence here..."),
38
  outputs="label",
39
  interpretation="default",
40
  examples=[examples])
41
 
42
  ner_demo = gr.Interface(
43
  ner,
44
+ gr.Textbox(placeholder="Enter sentence here..."),
45
  gr.HighlightedText(),
46
  examples=[examples])
47