fffiloni commited on
Commit
3de8992
1 Parent(s): 3b91fc8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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: