Muhammad Taqi Raza
commited on
Commit
·
a0b8a67
1
Parent(s):
780ff68
adding fps and frame rate
Browse files- gradio_app.py +1 -1
gradio_app.py
CHANGED
@@ -238,7 +238,7 @@ def run_epic_inference(video_path, fps, num_frames, target_pose, mode):
|
|
238 |
result = subprocess.run(command, capture_output=True, text=True, check=True)
|
239 |
logs += result.stdout
|
240 |
except subprocess.CalledProcessError as e:
|
241 |
-
logs += f"❌ Inference failed:\n{e.stderr}"
|
242 |
return logs, None
|
243 |
|
244 |
return logs + result.stdout, str(video_output_path) if os.path.exists(video_output_path) else (logs, None)
|
|
|
238 |
result = subprocess.run(command, capture_output=True, text=True, check=True)
|
239 |
logs += result.stdout
|
240 |
except subprocess.CalledProcessError as e:
|
241 |
+
logs += f"❌ Inference failed:\n{e.stderr}{e.stdout}"
|
242 |
return logs, None
|
243 |
|
244 |
return logs + result.stdout, str(video_output_path) if os.path.exists(video_output_path) else (logs, None)
|