|
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() |