Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -183,7 +183,7 @@ gradio_pipeline = GradioPipeline(
|
|
183 |
# 추가 정의
|
184 |
elevenlabs_pipeline = ElevenLabsPipeline()
|
185 |
stf_pipeline = STFPipeline()
|
186 |
-
|
187 |
|
188 |
@spaces.GPU(duration=240)
|
189 |
def gpu_wrapped_stf_pipeline_execute(audio_path):
|
@@ -245,7 +245,8 @@ output_image_paste_back = gr.Image(type="numpy")
|
|
245 |
output_video = gr.Video()
|
246 |
output_video_concat = gr.Video()
|
247 |
|
248 |
-
video_input = gr.Video()
|
|
|
249 |
|
250 |
|
251 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
@@ -288,7 +289,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
288 |
cache_examples=False,
|
289 |
)
|
290 |
with gr.Accordion(open=True, label="Driving Video"):
|
291 |
-
|
292 |
gr.Examples(
|
293 |
examples=[
|
294 |
[osp.join(example_video_dir, "d0.mp4")],
|
|
|
183 |
# 추가 정의
|
184 |
elevenlabs_pipeline = ElevenLabsPipeline()
|
185 |
stf_pipeline = STFPipeline()
|
186 |
+
|
187 |
|
188 |
@spaces.GPU(duration=240)
|
189 |
def gpu_wrapped_stf_pipeline_execute(audio_path):
|
|
|
245 |
output_video = gr.Video()
|
246 |
output_video_concat = gr.Video()
|
247 |
|
248 |
+
# video_input = gr.Video()
|
249 |
+
driving_video_path=gr.Video()
|
250 |
|
251 |
|
252 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
|
289 |
cache_examples=False,
|
290 |
)
|
291 |
with gr.Accordion(open=True, label="Driving Video"):
|
292 |
+
video_input = gr.Video()
|
293 |
gr.Examples(
|
294 |
examples=[
|
295 |
[osp.join(example_video_dir, "d0.mp4")],
|