Spaces:
Runtime error
Runtime error
Commit
·
6b923a7
1
Parent(s):
0fc2865
Update app.py
Browse files
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 |
|