Spaces:
Running
Running
fix app.py for gradio 4.36.0 update
Browse files
app.py
CHANGED
@@ -28,14 +28,14 @@ iface = gr.Interface(
|
|
28 |
label="Input text",
|
29 |
lines=num_input_lines,
|
30 |
placeholder=input_placeholder,
|
31 |
-
|
32 |
),
|
33 |
title=title,
|
34 |
description=description,
|
35 |
examples=examples,
|
36 |
outputs=[
|
37 |
-
gr.
|
38 |
-
gr.
|
39 |
],
|
40 |
)
|
41 |
|
|
|
28 |
label="Input text",
|
29 |
lines=num_input_lines,
|
30 |
placeholder=input_placeholder,
|
31 |
+
value=default_text,
|
32 |
),
|
33 |
title=title,
|
34 |
description=description,
|
35 |
examples=examples,
|
36 |
outputs=[
|
37 |
+
gr.Textbox(label="Words"),
|
38 |
+
gr.Textbox(label="POS tags"),
|
39 |
],
|
40 |
)
|
41 |
|