shane666 commited on
Commit
e063705
·
1 Parent(s): db124a2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -72,10 +72,10 @@ def test(image):
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
  )
 
72
  demo = gr.Interface(
73
  fn=Tree_Detection,
74
  inputs={
75
+ 'noise': gr.components.Textbox(label="说明1:"),
76
+ 'rotaion': gr.components.Textbox(label="说明2:"),
77
+ 'power_up': gr.components.Textbox(label="说明3:"),
78
+ 'temp': gr.components.Textbox(label="说明4:"),
79
  },
80
  outputs=['text', 'image']
81
  )