Update app.py
Browse files
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.
|
| 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=
|
| 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()
|