Spaces:
Runtime error
Runtime error
Commit
·
dc02166
1
Parent(s):
6ce2f8e
Update app.py
Browse files
app.py
CHANGED
@@ -37,15 +37,15 @@ sentiment_demo = gr.Interface(
|
|
37 |
inputs=gr.Textbox(placeholder="Enter sentence here..."),
|
38 |
outputs="label",
|
39 |
interpretation="default",
|
40 |
-
examples=
|
41 |
|
42 |
ner_demo = gr.Interface(
|
43 |
ner,
|
44 |
gr.Textbox(placeholder="Enter sentence here..."),
|
45 |
gr.HighlightedText(),
|
46 |
-
examples=
|
47 |
|
48 |
if __name__ == "__main__":
|
49 |
Parallel(sentiment_demo, ner_demo,
|
50 |
inputs=gr.Textbox(placeholder="Enter sentence here..."),
|
51 |
-
examples=
|
|
|
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 |
|
48 |
if __name__ == "__main__":
|
49 |
Parallel(sentiment_demo, ner_demo,
|
50 |
inputs=gr.Textbox(placeholder="Enter sentence here..."),
|
51 |
+
examples=examples).launch()
|