Code Monkey home page Code Monkey logo

ez-text2video's Introduction

ez-text2vid

A Streamlit app to easily run the ModelScope text-to-video diffusion model with customized video length, fps, and dimensions. It can run on 4GB video cards, as well as CPU and Apple M chips.

Built with:

Installation

Before installing, make sure you have working git and conda installations. If you have an Nvidia graphics card, you should also install CUDA.

Install Steps:

  1. Open a terminal on your machine. On Windows, you should use the Anaconda Prompt terminal.

  2. Clone this repo using git:

    git clone https://github.com/kpthedev/ez-text2video.git
    
  3. Open the folder:

    cd ez-text2video
    
  4. Create the conda environment:

    conda env create -f environment.yaml
    

Running

To run the app, make sure you are in the ez-text2video folder in your terminal. Then run these two commands to activate the conda environment and start the Streamlit app:

conda activate t2v
streamlit run app.py

This should open the webUI in your browser automatically.

The very first time you run the app, it will automatically download the models from Huggingface. This may a couple of minutes (~5 mins).

License

All the original code that I have written is licensed under a GPL license. For the text-to-video model license and conditions please refer to the model card.

Changelog

  • Mar 31, 2023 - Inital release
  • April 1, 2023 - Switch to conda install

ez-text2video's People

Contributors

kpthedev avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.