"...lm-evaluation-harness.git" did not exist on "8fb119890f100d515b3a7802d88b3fec637fccf1"
Unverified Commit 18ee767d authored by Chia-Yu Hung's avatar Chia-Yu Hung Committed by GitHub
Browse files

Update README.md

parent e6f81486
......@@ -30,7 +30,7 @@ TangoFlux consists of FluxTransformer blocks which are Diffusion Transformer (Di
## Inference with TangoFlux
Download the TangoFlux model and generate audio from a text prompt:
TangoFlux can generate audio up to 30seconds through passing in a duration variable in model.generate function.
```python
import torchaudio
from tangoflux import TangoFluxInference
......@@ -41,7 +41,7 @@ audio = model.generate('Hammer slowly hitting the wooden table', steps=50, durat
Audio(data=audio, rate=44100)
```
Our evaluation shows that inferencing with 50 steps yield the best results, which takes about 3seconds. For faster inference, consider setting steps to 25 that yield similar audio quality.
## Evaluation Scripts
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment