Spaces:
Runtime error
Runtime error
Commit
·
9d9c8ab
1
Parent(s):
297dc79
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ tangoflux = TangoFluxInference(name="declare-lab/TangoFlux")
|
|
| 24 |
|
| 25 |
|
| 26 |
@spaces.GPU(duration=15)
|
| 27 |
-
def gradio_generate(prompt,
|
| 28 |
|
| 29 |
output_wave = tangoflux.generate(prompt,steps=steps,guidance_scale=guidance,duration=duration)
|
| 30 |
output_filename = "temp.wav"
|
|
|
|
| 24 |
|
| 25 |
|
| 26 |
@spaces.GPU(duration=15)
|
| 27 |
+
def gradio_generate(prompt, steps, guidance,duration=10):
|
| 28 |
|
| 29 |
output_wave = tangoflux.generate(prompt,steps=steps,guidance_scale=guidance,duration=duration)
|
| 30 |
output_filename = "temp.wav"
|