yerang commited on
Commit
8603f30
1 Parent(s): 7f69a39

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -8,7 +8,7 @@ import tyro
8
  import gradio as gr
9
  import os.path as osp
10
  from src.utils.helper import load_description
11
- from src.gradio_pipeline import GradioPipeline
12
  from src.config.crop_config import CropConfig
13
  from src.config.argument_config import ArgumentConfig
14
  from src.config.inference_config import InferenceConfig
@@ -168,8 +168,8 @@ def run_end_to_end(image_path, text, voice, input_video, flag_relative, flag_do_
168
 
169
  #output_path, crop_output_path = gradio_pipeline.execute_video(
170
  output_path, crop_output_path = gpu_wrapped_execute_video(
171
- input_source_image_path=image_path,
172
- input_driving_video_path=driving_video_path,
173
  # input_driving_video_pickle_path=None,
174
  flag_do_crop_input=flag_do_crop,
175
  # flag_remap_input=flag_remap,
 
8
  import gradio as gr
9
  import os.path as osp
10
  from src.utils.helper import load_description
11
+ from src.gradio_pipeline_stf import GradioPipeline
12
  from src.config.crop_config import CropConfig
13
  from src.config.argument_config import ArgumentConfig
14
  from src.config.inference_config import InferenceConfig
 
168
 
169
  #output_path, crop_output_path = gradio_pipeline.execute_video(
170
  output_path, crop_output_path = gpu_wrapped_execute_video(
171
+ input_image_path=image_path,
172
+ input_video_path=driving_video_path,
173
  # input_driving_video_pickle_path=None,
174
  flag_do_crop_input=flag_do_crop,
175
  # flag_remap_input=flag_remap,