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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -71,12 +71,12 @@ def test(image):
71
 
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
  )
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()