multimodalart HF staff commited on
Commit
f880981
1 Parent(s): a8d2995

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,9 +4,9 @@ import time
4
  from moviepy.editor import *
5
  from share_btn import community_icon_html, loading_icon_html, share_js
6
 
7
- token = os.environ.get('HF_TOKEN')
8
  caption = gr.Blocks.load(name="spaces/laion/CoCa")
9
- audio_gen = gr.Blocks.load(name="spaces/fffiloni/audioldm-text-to-audio-generation-clone", api_key=token)
10
 
11
  ph_message="If you're not happy with sound result, you can manually describe the scene depicted in your image :)"
12
 
 
4
  from moviepy.editor import *
5
  from share_btn import community_icon_html, loading_icon_html, share_js
6
 
7
+ #token = os.environ.get('HF_TOKEN')
8
  caption = gr.Blocks.load(name="spaces/laion/CoCa")
9
+ audio_gen = gr.Blocks.load(name="spaces/haoheliu/audioldm-text-to-audio-generation")
10
 
11
  ph_message="If you're not happy with sound result, you can manually describe the scene depicted in your image :)"
12