Skreeauk commited on
Commit
37d6312
·
verified ·
1 Parent(s): 1978b3a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -16,7 +16,12 @@ items = ['Seraph', 'Opus', 'Draconic', 'Null Ele Foe', 'Off Ele Foe']
16
 
17
  demo = gr.Interface(
18
  fn=predict,
19
- inputs=[gr.Slider(minimum="0", maximum="2", label="PnS") ,gr.Checkbox(label=item, info="True or False") for item in items]
 
 
 
 
 
20
  outputs="text"
21
  )
22
 
 
16
 
17
  demo = gr.Interface(
18
  fn=predict,
19
+ inputs=[gr.Slider(minimum="0", maximum="2", label="PnS"),
20
+ gr.Checkbox(label='Seraph', info="True or False"),
21
+ gr.Checkbox(label='Opus', info="True or False"),
22
+ gr.Checkbox(label='Draconic', info="True or False"),
23
+ gr.Checkbox(label='Null Ele Foe', info="True or False"),
24
+ gr.Checkbox(label='Off Ele Foe', info="True or False")]
25
  outputs="text"
26
  )
27