Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -11,14 +11,13 @@ def run_inference(image_input, audio_input):
|
|
11 |
|
12 |
try:
|
13 |
# Run the inference command
|
14 |
-
|
15 |
subprocess.run(
|
16 |
[
|
17 |
"python", "inference.py",
|
18 |
"--config", "configs/inference.yaml",
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
],
|
23 |
check=True
|
24 |
)
|
|
|
11 |
|
12 |
try:
|
13 |
# Run the inference command
|
|
|
14 |
subprocess.run(
|
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 |
check=True
|
23 |
)
|