fffiloni commited on
Commit
2b0bcc0
โ€ข
1 Parent(s): 9129aed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -20,7 +20,7 @@ MUBERT_TOKEN = os.environ.get('MUBERT_TOKEN')
20
  img_to_text = gr.Blocks.load(name="spaces/fffiloni/CLIP-Interrogator-2")
21
 
22
  from share_btn import community_icon_html, loading_icon_html, share_js
23
-
24
  minilm = SentenceTransformer('all-MiniLM-L6-v2')
25
  mubert_tags_embeddings = get_mubert_tags_embeddings(minilm)
26
 
@@ -35,7 +35,7 @@ def get_prompts(uploaded_image, track_duration, gen_intensity, gen_mode):
35
  #print(pat)
36
  return music_result, gr.update(visible=True), gr.update(visible=True), gr.update(visible=True)
37
 
38
- from utils import get_tags_for_prompts, get_mubert_tags_embedding
39
 
40
 
41
 
 
20
  img_to_text = gr.Blocks.load(name="spaces/fffiloni/CLIP-Interrogator-2")
21
 
22
  from share_btn import community_icon_html, loading_icon_html, share_js
23
+ from utils import get_tags_for_prompts, get_mubert_tags_embedding
24
  minilm = SentenceTransformer('all-MiniLM-L6-v2')
25
  mubert_tags_embeddings = get_mubert_tags_embeddings(minilm)
26
 
 
35
  #print(pat)
36
  return music_result, gr.update(visible=True), gr.update(visible=True), gr.update(visible=True)
37
 
38
+
39
 
40
 
41