From 08938492e7cdbe83a4663a22f5903131b77273da Mon Sep 17 00:00:00 2001 From: RhymesAI Date: Mon, 21 Oct 2024 09:59:49 +0000 Subject: [PATCH] Update README.md --- README.md | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 4cca22d..b9e14d4 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ library_name: diffusers Video Length - 6 seconds @ 15 fps + 6 seconds @ 15 FPS Single GPU Memory Usage @@ -78,21 +78,22 @@ library_name: diffusers # Quick start 1. Download the [Allegro GitHub code](https://github.com/rhymes-ai/Allegro). 2. Install the necessary requirements. - a. Ensure Python >= 3.10, PyTorch >= 2.4, CUDA >= 12.4. For details, see [requirements.txt](https://github.com/rhymes-ai/Allegro/blob/main/requirements.txt). + a. Ensure Python >= 3.10, PyTorch >= 2.4, CUDA >= 12.4. For details, see [requirements.txt](https://github.com/rhymes-ai/Allegro/blob/main/requirements.txt). b. It is recommended to use Anaconda to create a new environment (Python >= 3.10) to run the following example. -3. Download the [Allegro model weights](https://huggingface.co/rhymes-ai/Allegro). -4. Run inference. -```python -python single_inference.py \ ---user_prompt 'A seaside harbor with bright sunlight and sparkling seawater, with many boats in the water. From an aerial view, the boats vary in size and color, some moving and some stationary. Fishing boats in the water suggest that this location might be a popular spot for docking fishing boats.' \ ---vae your/path/to/vae \ ---dit your/path/to/transformer \ ---text_encoder your/path/to/text_encoder \ ---tokenizer your/path/to/tokenizer \ ---guidance_scale 7.5 \ ---num_sampling_steps 100 \ ---seed 42 -``` +4. Download the [Allegro model weights](https://huggingface.co/rhymes-ai/Allegro). +5. Run inference. + + ```python + python single_inference.py \ + --user_prompt 'A seaside harbor with bright sunlight and sparkling seawater, with many boats in the water. From an aerial view, the boats vary in size and color, some moving and some stationary. Fishing boats in the water suggest that this location might be a popular spot for docking fishing boats.' \ + --vae your/path/to/vae \ + --dit your/path/to/transformer \ + --text_encoder your/path/to/text_encoder \ + --tokenizer your/path/to/tokenizer \ + --guidance_scale 7.5 \ + --num_sampling_steps 100 \ + --seed 42 + ``` # License This repo is released under the Apache 2.0 License.