fffiloni commited on
Commit
4f2bf09
·
verified ·
1 Parent(s): c81f025

Update simple_app.py

Browse files
Files changed (1) hide show
  1. simple_app.py +5 -0
simple_app.py CHANGED
@@ -24,6 +24,11 @@ def infer(prompt):
24
 
25
  result = subprocess.run(command, capture_output=True, text=True)
26
 
 
 
 
 
 
27
  if result.returncode == 0:
28
  print("Command executed successfully.")
29
  return "./tmp/generated_video.mp4"
 
24
 
25
  result = subprocess.run(command, capture_output=True, text=True)
26
 
27
+ # Print the standard output and error
28
+ print("STDOUT:", result.stdout)
29
+ print("STDERR:", result.stderr)
30
+
31
+
32
  if result.returncode == 0:
33
  print("Command executed successfully.")
34
  return "./tmp/generated_video.mp4"