Update README.md

This commit is contained in:
RhymesAI 2024-10-21 09:59:49 +00:00 committed by system
parent 8da6f5e65f
commit 08938492e7
No known key found for this signature in database
GPG Key ID: 6A528E38E0733467

@ -66,7 +66,7 @@ library_name: diffusers
</tr> </tr>
<tr> <tr>
<th>Video Length</th> <th>Video Length</th>
<td>6 seconds @ 15 fps</td> <td>6 seconds @ 15 FPS</td>
</tr> </tr>
<tr> <tr>
<th>Single GPU Memory Usage</th> <th>Single GPU Memory Usage</th>
@ -80,8 +80,9 @@ library_name: diffusers
2. Install the necessary requirements. 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. 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. Download the [Allegro model weights](https://huggingface.co/rhymes-ai/Allegro).
4. Run inference. 5. Run inference.
```python ```python
python single_inference.py \ 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.' \ --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.' \