Spaces:
Runtime error
Runtime error
Commit
•
8c79f6a
1
Parent(s):
63f899c
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ os.makedirs(new_dir, exist_ok=True)
|
|
18 |
for filename in os.listdir(hallo_dir):
|
19 |
shutil.move(os.path.join(hallo_dir, filename), os.path.join(new_dir, filename))
|
20 |
|
21 |
-
def run_inference(source_image, driving_audio, gr.Progress(track_tqdm=True)):
|
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
|
|
|
18 |
for filename in os.listdir(hallo_dir):
|
19 |
shutil.move(os.path.join(hallo_dir, filename), os.path.join(new_dir, filename))
|
20 |
|
21 |
+
def run_inference(source_image, driving_audio, progress=gr.Progress(track_tqdm=True)):
|
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
|