Johann Diedrick commited on
Commit
fac1cff
1 Parent(s): 40c51f7

renamed interface function

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = my_inference_function,
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
  )