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