multimodalart HF staff commited on
Commit
751c5b7
1 Parent(s): 17dad23

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -22,8 +22,8 @@ def run_inference(source_image, driving_audio, progress=gr.Progress(track_tqdm=T
22
  # Construct the argparse.Namespace object with all necessary attributes
23
  args = argparse.Namespace(
24
  config='configs/inference/default.yaml', # Adjust this path as necessary
25
- source_image=source_image.name,
26
- driving_audio=driving_audio.name,
27
  output='output.mp4', # You might want to manage output paths dynamically
28
  pose_weight=1.0,
29
  face_weight=1.0,
 
22
  # Construct the argparse.Namespace object with all necessary attributes
23
  args = argparse.Namespace(
24
  config='configs/inference/default.yaml', # Adjust this path as necessary
25
+ source_image=source_image,
26
+ driving_audio=driving_audio,
27
  output='output.mp4', # You might want to manage output paths dynamically
28
  pose_weight=1.0,
29
  face_weight=1.0,