Skip to content

✨ Gradio Interface for Hotshot-XL: State-of-the-art AI text-to-GIF model trained to work alongside Stable Diffusion XL

License

Notifications You must be signed in to change notification settings

RamboRogers/Hotshot-XL-Gradio

 
 

Repository files navigation

logo Hotshot-XL + Gradio

I forked the Hotshot-XL Project because the build instructions didn't work for me and I wanted to write an interface for it. Here is the result for you to try out. Please comment with any suggestions or fixes, etc.

Setup

To deploy this run the following commands in WSL or some Linux with CUDA support. You may want to use a virtual env for python to keep your libraries in order.

Basic Setup

git clone https://github.com/RamboRogers/Hotshot-XL-Gradio
cd Hotshot-XL-Gradio
pip install -r requirements.txt
python3 app.py

Virtual Environment Setup

pip install virtualenv --upgrade
virtualenv -p $(which python3) venv
source venv/bin/activate
cd venv
git clone https://github.com/RamboRogers/Hotshot-XL-Gradio
cd Hotshot-XL-Gradio
pip install -r requirements.txt
python3 app.py

You should now be able to generate gif files or mp4 files in the web interface by going to http://127.0.0.1:7860/. The preview will populate once you start generating files.

⚠️Note: The mp4 files can't be previewed by Gradio and will show an error but they can be downloaed and viewed in the browser!

Interface

Acknowledgements

  1. Gradio rocks
  2. Hotshot-XL this is the source

Coded 🧾 by Matthew Rogers | RamboRogers

About

✨ Gradio Interface for Hotshot-XL: State-of-the-art AI text-to-GIF model trained to work alongside Stable Diffusion XL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%