Spaces:
Runtime error
Runtime error
paul hilders
commited on
Commit
•
6d54b19
1
Parent(s):
14dfe9b
Use highlight
Browse files
app.py
CHANGED
@@ -94,7 +94,7 @@ input_img_NER = gr.inputs.Image(type='pil', label="Original Image")
|
|
94 |
input_txt_NER = "text"
|
95 |
inputs_NER = [input_img_NER, input_txt_NER]
|
96 |
|
97 |
-
outputs_NER = ["
|
98 |
|
99 |
|
100 |
iface_NER = gr.Interface(fn=NER_demo,
|
@@ -112,6 +112,5 @@ iface_NER = gr.Interface(fn=NER_demo,
|
|
112 |
["example_images/dogs_on_bed.png", "Book"],
|
113 |
["example_images/dogs_on_bed.png", "Cat"]])
|
114 |
|
115 |
-
|
116 |
demo_tabs = gr.TabbedInterface([iface, iface_NER], ["Default", "NER"])
|
117 |
demo_tabs.launch(debug=True)
|
|
|
94 |
input_txt_NER = "text"
|
95 |
inputs_NER = [input_img_NER, input_txt_NER]
|
96 |
|
97 |
+
outputs_NER = ["highlight"]
|
98 |
|
99 |
|
100 |
iface_NER = gr.Interface(fn=NER_demo,
|
|
|
112 |
["example_images/dogs_on_bed.png", "Book"],
|
113 |
["example_images/dogs_on_bed.png", "Cat"]])
|
114 |
|
|
|
115 |
demo_tabs = gr.TabbedInterface([iface, iface_NER], ["Default", "NER"])
|
116 |
demo_tabs.launch(debug=True)
|