Spaces:
Runtime error
Runtime error
kevinwang676
commited on
Commit
•
bf21026
1
Parent(s):
cfd68ed
Update app.py
Browse files
app.py
CHANGED
@@ -136,44 +136,7 @@ with gr.Blocks(analytics_enabled=False) as sadtalker_interface:
|
|
136 |
outputs=[gen_video]
|
137 |
)
|
138 |
|
139 |
-
|
140 |
-
|
141 |
-
[
|
142 |
-
'examples/source_image/full_body_1.png',
|
143 |
-
'examples/driven_audio/bus_chinese.wav',
|
144 |
-
'crop',
|
145 |
-
True,
|
146 |
-
False
|
147 |
-
],
|
148 |
-
[
|
149 |
-
'examples/source_image/full_body_2.png',
|
150 |
-
'examples/driven_audio/japanese.wav',
|
151 |
-
'crop',
|
152 |
-
False,
|
153 |
-
False
|
154 |
-
],
|
155 |
-
[
|
156 |
-
'examples/source_image/full3.png',
|
157 |
-
'examples/driven_audio/deyu.wav',
|
158 |
-
'crop',
|
159 |
-
False,
|
160 |
-
True
|
161 |
-
],
|
162 |
-
|
163 |
-
]
|
164 |
-
gr.Examples(examples=examples,
|
165 |
-
inputs=[
|
166 |
-
source_image,
|
167 |
-
driven_audio,
|
168 |
-
preprocess_type,
|
169 |
-
is_still_mode,
|
170 |
-
enhancer],
|
171 |
-
outputs=[gen_video],
|
172 |
-
fn=sad_talker.test,
|
173 |
-
cache_examples=os.getenv('SYSTEM') == 'spaces') #
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
sadtalker_interface.queue(max_size=10).launch(debug=True)
|
178 |
|
179 |
|
|
|
136 |
outputs=[gen_video]
|
137 |
)
|
138 |
|
139 |
+
|
140 |
+
sadtalker_interface.queue().launch(debug=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
141 |
|
142 |
|