Flask return GIF from URL

I'm trying to retrieve a gif from URL and return it as the Flask response.
It's what I currently have and it is half-working.

It will return only the first frame of the gif. I searched about it but none of them was what I was looking for

You are viewing a single comment. View All

https://replit.com/@CosmicBear/SubtleRosyCubase#main.py Works for me. Maybe it's not really a gif?