Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -38,17 +38,18 @@ input_textbox = gr.Textbox(
|
|
| 38 |
autofocus=True
|
| 39 |
)
|
| 40 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
gradio_app = gr.Interface(
|
| 42 |
parse,
|
| 43 |
[
|
| 44 |
input_textbox,
|
| 45 |
],
|
| 46 |
-
outputs=
|
| 47 |
-
"Parse Tree"
|
| 48 |
-
#label="Parse Tree",
|
| 49 |
-
# could not auto select example output
|
| 50 |
-
#value=""
|
| 51 |
-
),
|
| 52 |
#examples=[
|
| 53 |
# ["coi rodo"],
|
| 54 |
#],
|
|
|
|
| 38 |
autofocus=True
|
| 39 |
)
|
| 40 |
|
| 41 |
+
parse_tree = gr.Label(
|
| 42 |
+
"Parse Tree"
|
| 43 |
+
#label="Parse Tree",
|
| 44 |
+
# could not auto select example output
|
| 45 |
+
)
|
| 46 |
+
|
| 47 |
gradio_app = gr.Interface(
|
| 48 |
parse,
|
| 49 |
[
|
| 50 |
input_textbox,
|
| 51 |
],
|
| 52 |
+
outputs=parse_tree,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 53 |
#examples=[
|
| 54 |
# ["coi rodo"],
|
| 55 |
#],
|