ldkong commited on
Commit
7a902b1
β€’
1 Parent(s): ef884fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -120,7 +120,7 @@ def run(domain_source, action_source, hair_source, top_source, bottom_source, do
120
 
121
  gif_target = display_gif_pad(file_name_target, 'avatar_target.gif')
122
 
123
- return 'demo.gif', 'avatar_target.gif'
124
 
125
 
126
  gr.Interface(
@@ -138,8 +138,7 @@ gr.Interface(
138
  gr.Radio(choices=["denim", "olive", "brown"], value="brown"),
139
  ],
140
  outputs=[
141
- gr.components.Image(type="file", label="Source Avatar (Costumed by You)"),
142
- gr.components.Image(type="file", label="Target Avatar (Randomly Chosen)"),
143
  ],
144
  live=True,
145
  title="TransferVAE for Unsupervised Video Domain Adaptation",
 
120
 
121
  gif_target = display_gif_pad(file_name_target, 'avatar_target.gif')
122
 
123
+ return 'demo.gif'
124
 
125
 
126
  gr.Interface(
 
138
  gr.Radio(choices=["denim", "olive", "brown"], value="brown"),
139
  ],
140
  outputs=[
141
+ gr.components.Image(type="file", label="Domain Disentanglement"),
 
142
  ],
143
  live=True,
144
  title="TransferVAE for Unsupervised Video Domain Adaptation",