ldkong commited on
Commit
6ee80eb
·
1 Parent(s): af285a1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -64,7 +64,7 @@ def display_image(file_name):
64
  imageio.imwrite('image.png', image)
65
 
66
 
67
- def run(domain_source, action, hair, top, bottom, domain_target):
68
 
69
  # == Source Avatar ==
70
  # body
@@ -113,11 +113,15 @@ gr.Interface(
113
  run,
114
  inputs=[
115
  gr.Textbox(value="Source Avatar: Human", interactive=False),
116
- gr.Radio(choices=["shoot", "slash", "spellcard", "thrust", "walk"], value="shoot"),
117
  gr.Radio(choices=["green", "yellow", "rose", "red", "wine"], value="green"),
118
  gr.Radio(choices=["brown", "blue", "white"], value="brown"),
119
  gr.Radio(choices=["white", "golden", "red", "silver"], value="white"),
120
  gr.Textbox(value="Target Avatar: Alien", interactive=False),
 
 
 
 
121
  ],
122
  outputs=[
123
  gr.components.Image(type="file", label="Source Avatar (Costumed by You)"),
 
64
  imageio.imwrite('image.png', image)
65
 
66
 
67
+ def run(domain_source, action_source, hair_source, top_source, bottom_source, domain_target, action_source, hair_source, top_source, bottom_source):
68
 
69
  # == Source Avatar ==
70
  # body
 
113
  run,
114
  inputs=[
115
  gr.Textbox(value="Source Avatar: Human", interactive=False),
116
+ gr.Radio(choices=["slash", "spellcard", "walk"], value="slash"),
117
  gr.Radio(choices=["green", "yellow", "rose", "red", "wine"], value="green"),
118
  gr.Radio(choices=["brown", "blue", "white"], value="brown"),
119
  gr.Radio(choices=["white", "golden", "red", "silver"], value="white"),
120
  gr.Textbox(value="Target Avatar: Alien", interactive=False),
121
+ gr.Radio(choices=["slash", "spellcard", "walk"], value="walk"),
122
+ gr.Radio(choices=["green", "yellow", "rose", "red", "wine"], value="green"),
123
+ gr.Radio(choices=["brown", "blue", "white"], value="brown"),
124
+ gr.Radio(choices=["white", "golden", "red", "silver"], value="white"),
125
  ],
126
  outputs=[
127
  gr.components.Image(type="file", label="Source Avatar (Costumed by You)"),