Spaces:
Running
Running
Update app.py
Browse files
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
|
| 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,
|
|
|
|
| 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,
|