File size: 571 Bytes
966afa7
 
 
 
 
 
 
 
 
 
e1ffb04
fabafa0
 
 
 
 
966afa7
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import gradio as gr


def woah(*args):
  return "WOah!!!"

items = ['Seraph', 'Opus', 'Draconic', 'Null Ele Foe', 'Off Ele Foe']

demo = gr.Interface(
  fn=woah,
  inputs=[gr.Slider(minimum="0", maximum="2", step="1", label="PnS"), 
            gr.Checkbox(label='Seraph', info="True or False"),
           gr.Checkbox(label='Opus', info="True or False"),
           gr.Checkbox(label='Draconic', info="True or False"),
           gr.Checkbox(label='Null Ele Foe', info="True or False"),
           gr.Checkbox(label='Off Ele Foe', info="True or False")]
)

demo.launch()