ldkong commited on
Commit
95ec167
β€’
1 Parent(s): 1e99cb9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -42,12 +42,12 @@ def path(action, body, hair, top, bottom):
42
  gr.Interface(
43
  path,
44
  inputs=[
45
- gr.Radio(["shoot", "slash", "spellcard", "thrust", "walk"]),
46
- gr.Radio(["human", "alien"]),
47
- gr.Slider(0, 5, label='Hair', step=1, default=0),
48
  gr.Slider(0, 3, label='Top', step=1, default=0),
49
  gr.Slider(0, 4, label='Bottom', step=1, default=0)
50
  ],
51
  outputs="image",
52
- live=True,
53
  ).launch()
 
42
  gr.Interface(
43
  path,
44
  inputs=[
45
+ gr.Radio(choices=["shoot", "slash", "spellcard", "thrust", "walk"], value="shoot"),
46
+ gr.Radio(choices=["human", "alien"], value="shoot"),
47
+ gr.Radio(choices=["green", "yellow", "rose", "red", "wine"], value="green"),
48
  gr.Slider(0, 3, label='Top', step=1, default=0),
49
  gr.Slider(0, 4, label='Bottom', step=1, default=0)
50
  ],
51
  outputs="image",
52
+ live=False,
53
  ).launch()