Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,9 +15,9 @@ def run_inference(image_input, audio_input, progress=gr.Progress(track_tqdm=True
|
|
| 15 |
[
|
| 16 |
"python", "inference.py",
|
| 17 |
"--config", "configs/inference.yaml",
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
],
|
| 22 |
stdout=subprocess.PIPE, # Capture standard output
|
| 23 |
stderr=subprocess.PIPE, # Capture standard error
|
|
|
|
| 15 |
[
|
| 16 |
"python", "inference.py",
|
| 17 |
"--config", "configs/inference.yaml",
|
| 18 |
+
"--input_image", image_input,
|
| 19 |
+
"--input_audio", audio_input,
|
| 20 |
+
"--output_dir", temp_dir,
|
| 21 |
],
|
| 22 |
stdout=subprocess.PIPE, # Capture standard output
|
| 23 |
stderr=subprocess.PIPE, # Capture standard error
|