Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ def get_gif_info(gif_file):
|
|
15 |
frames += 1
|
16 |
except EOFError:
|
17 |
img.seek(0) # Reset to first frame
|
18 |
-
return width, height, frames + 1
|
19 |
except Exception as e:
|
20 |
return None, None, None, f"Error: {str(e)}"
|
21 |
|
|
|
15 |
frames += 1
|
16 |
except EOFError:
|
17 |
img.seek(0) # Reset to first frame
|
18 |
+
return width, height, frames + 1, "Success"
|
19 |
except Exception as e:
|
20 |
return None, None, None, f"Error: {str(e)}"
|
21 |
|