Commit
·
0639b8b
1
Parent(s):
0f5bd18
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,10 +16,10 @@ theme = "grass"
|
|
| 16 |
examples=["Mount Everest is Earth's highest mountain, located in the Mahalangur Himal sub-range of the Himalayas. The China-Nepal border runs across it."]
|
| 17 |
|
| 18 |
gr.Interface(fn=ner,
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
gr.Textbox(placeholder="Enter sentence here..."),
|
| 22 |
-
gr.HighlightedText(),
|
| 23 |
title=title,
|
| 24 |
theme = theme,
|
| 25 |
description=description,
|
|
|
|
| 16 |
examples=["Mount Everest is Earth's highest mountain, located in the Mahalangur Himal sub-range of the Himalayas. The China-Nepal border runs across it."]
|
| 17 |
|
| 18 |
gr.Interface(fn=ner,
|
| 19 |
+
inputs="textbox",
|
| 20 |
+
outputs="HighlightedText",
|
| 21 |
+
# gr.Textbox(placeholder="Enter sentence here..."),
|
| 22 |
+
# gr.HighlightedText(),
|
| 23 |
title=title,
|
| 24 |
theme = theme,
|
| 25 |
description=description,
|