Spaces:
Paused
Paused
Johann Diedrick
commited on
Commit
•
fac1cff
1
Parent(s):
40c51f7
renamed interface function
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ def text2audio(text, negative_prompt, duration, guidance_scale, random_seed, n_c
|
|
36 |
return gr.make_waveform((16000, waveforms[0]), bg_image="bg.png")
|
37 |
|
38 |
gradio_interface = gr.Interface(
|
39 |
-
fn =
|
40 |
inputs = "text",
|
41 |
outputs = "audio",
|
42 |
)
|
|
|
36 |
return gr.make_waveform((16000, waveforms[0]), bg_image="bg.png")
|
37 |
|
38 |
gradio_interface = gr.Interface(
|
39 |
+
fn = text2audio,
|
40 |
inputs = "text",
|
41 |
outputs = "audio",
|
42 |
)
|