Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -71,12 +71,12 @@ def test(image):
|
|
71 |
|
72 |
demo = gr.Interface(
|
73 |
fn=Tree_Detection,
|
74 |
-
inputs=
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
outputs=['text', 'image']
|
81 |
)
|
82 |
demo.launch()
|
|
|
71 |
|
72 |
demo = gr.Interface(
|
73 |
fn=Tree_Detection,
|
74 |
+
inputs=[
|
75 |
+
gr.components.Textbox(label="说明1:"),
|
76 |
+
gr.components.Textbox(label="说明2:"),
|
77 |
+
gr.components.Textbox(label="说明3:"),
|
78 |
+
gr.components.Textbox(label="说明4:"),
|
79 |
+
],
|
80 |
outputs=['text', 'image']
|
81 |
)
|
82 |
demo.launch()
|