Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -93,6 +93,7 @@ def infer(ref_video_in, ref_image_in):
|
|
93 |
print("YAML file 'config.yaml' created successfully in", file_path)
|
94 |
|
95 |
# Execute the inference command
|
|
|
96 |
process = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
|
97 |
# Print logs in real-time
|
98 |
while True:
|
|
|
93 |
print("YAML file 'config.yaml' created successfully in", file_path)
|
94 |
|
95 |
# Execute the inference command
|
96 |
+
command = ['python', 'inference.py', '--inference_config', file_path]
|
97 |
process = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
|
98 |
# Print logs in real-time
|
99 |
while True:
|