fffiloni commited on
Commit
3efd05b
β€’
1 Parent(s): a63d987

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ audio_gen = gr.Blocks.load(name="spaces/haoheliu/audioldm-text-to-audio-generati
7
 
8
  def infer(image_input):
9
  cap = caption(image_input, fn_index=0)
10
- sound = audio_gen(cap, 5, 2.5, 45, 3, fn_index=0)
11
  FILETOCONVERT = AudioFileClip(sound)
12
  FILETOCONVERT.write_audiofile("audio.wav")
13
  FILETOCONVERT.close()
 
7
 
8
  def infer(image_input):
9
  cap = caption(image_input, fn_index=0)
10
+ sound = audio_gen(cap, 10, 2.5, 45, 3, fn_index=0)
11
  FILETOCONVERT = AudioFileClip(sound)
12
  FILETOCONVERT.write_audiofile("audio.wav")
13
  FILETOCONVERT.close()