AItool commited on
Commit
5a1f385
·
verified ·
1 Parent(s): 0510408

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -57,7 +57,7 @@ subprocess.run([
57
 
58
  # Step 3: Check and display result
59
  if os.path.exists(TARGET_DIR/OUTPUT_GIF):
60
- with openTARGET_DIR/OUTPUT_GIF, "rb") as f:
61
  gif = Image.open(io.BytesIO(f.read())
62
  print("✅ GIF created!")
63
  # You can return or display the gif here
 
57
 
58
  # Step 3: Check and display result
59
  if os.path.exists(TARGET_DIR/OUTPUT_GIF):
60
+ with open(TARGET_DIR/OUTPUT_GIF, "rb") as f:
61
  gif = Image.open(io.BytesIO(f.read())
62
  print("✅ GIF created!")
63
  # You can return or display the gif here