AItool commited on
Commit
eaa98a2
·
verified ·
1 Parent(s): 37836b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -31,6 +31,7 @@ def generate_demo_gif(exp=2, progress=gr.Progress(track_tqdm=True)):
31
 
32
  print("STDOUT:", result.stdout)
33
  print("STDERR:", result.stderr)
 
34
 
35
  # Check and display result
36
  if result.returncode == 0 and os.path.exists(OUTPUT_GIF):
 
31
 
32
  print("STDOUT:", result.stdout)
33
  print("STDERR:", result.stderr)
34
+ print("Exists?", os.path.exists("/tmp/output.gif")) # ⬅️ Add it here
35
 
36
  # Check and display result
37
  if result.returncode == 0 and os.path.exists(OUTPUT_GIF):