Spaces:
Runtime error
Runtime error
Victoria Slocum
commited on
Commit
•
7991260
1
Parent(s):
0a6df83
fix: scroll on depen graph
Browse files
app.py
CHANGED
@@ -164,15 +164,16 @@ with demo:
|
|
164 |
with gr.Column():
|
165 |
gr.Markdown("")
|
166 |
button = gr.Button("Generate", variant="primary")
|
167 |
-
with gr.Column():
|
168 |
-
with gr.
|
169 |
-
with gr.
|
170 |
-
gr.
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
|
|
176 |
with gr.Box():
|
177 |
with gr.Column():
|
178 |
gr.Markdown("### Entity Recognizer")
|
|
|
164 |
with gr.Column():
|
165 |
gr.Markdown("")
|
166 |
button = gr.Button("Generate", variant="primary")
|
167 |
+
with gr.Column():
|
168 |
+
with gr.Tabs():
|
169 |
+
with gr.TabItem(""):
|
170 |
+
with gr.Column():
|
171 |
+
gr.Markdown("### Dependency Parser")
|
172 |
+
col_punct = gr.Checkbox(label="Collapse Punctuation", value=True)
|
173 |
+
col_phrase = gr.Checkbox(label="Collapse Phrases", value=True)
|
174 |
+
compact = gr.Checkbox(label="Compact", value=False)
|
175 |
+
depen_output = gr.HTML(value=dependency(DEFAULT_TEXT, True, True, False, DEFAULT_MODEL))
|
176 |
+
dep_button = gr.Button("Generate Dependency Parser")
|
177 |
with gr.Box():
|
178 |
with gr.Column():
|
179 |
gr.Markdown("### Entity Recognizer")
|