Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -69,13 +69,7 @@ with gr.Blocks(title="Open Information Extracting") as open_ie_interface:
|
|
69 |
nested_ner = gr.Checkbox(label="Nested NER", info="Allow for nested NER?")
|
70 |
output = gr.HighlightedText(label="Predicted Entities")
|
71 |
submit_btn = gr.Button("Submit")
|
72 |
-
|
73 |
-
open_ie_examples,
|
74 |
-
fn=process,
|
75 |
-
inputs=[prompt, input_text, threshold, nested_ner],
|
76 |
-
outputs=output,
|
77 |
-
cache_examples=True
|
78 |
-
)
|
79 |
theme=gr.themes.Base()
|
80 |
|
81 |
input_text.submit(fn=process, inputs=[prompt, input_text, threshold, nested_ner], outputs=output)
|
|
|
69 |
nested_ner = gr.Checkbox(label="Nested NER", info="Allow for nested NER?")
|
70 |
output = gr.HighlightedText(label="Predicted Entities")
|
71 |
submit_btn = gr.Button("Submit")
|
72 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
theme=gr.themes.Base()
|
74 |
|
75 |
input_text.submit(fn=process, inputs=[prompt, input_text, threshold, nested_ner], outputs=output)
|