Muhammad Taqi Raza
commited on
Commit
·
780ff68
1
Parent(s):
45afe6e
adding fps and frame rate
Browse files- gradio_app.py +1 -1
gradio_app.py
CHANGED
|
@@ -241,7 +241,7 @@ def run_epic_inference(video_path, fps, num_frames, target_pose, mode):
|
|
| 241 |
logs += f"❌ Inference failed:\n{e.stderr}"
|
| 242 |
return logs, None
|
| 243 |
|
| 244 |
-
return logs, str(video_output_path) if os.path.exists(video_output_path) else (logs, None)
|
| 245 |
|
| 246 |
def print_output_directory(out_dir):
|
| 247 |
result = ""
|
|
|
|
| 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)
|
| 245 |
|
| 246 |
def print_output_directory(out_dir):
|
| 247 |
result = ""
|