fffiloni commited on
Commit
10bb51b
โ€ข
1 Parent(s): 3dd8892

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ def get_prompts(uploaded_image, track_duration, gen_intensity, gen_mode):
30
  music_result = get_music(pat, prompt, track_duration, gen_intensity, gen_mode)
31
  #music_result = generate_track_by_prompt(pat, prompt, track_duration, gen_intensity, gen_mode)
32
  #print(pat)
33
- return pat, gr.update(visible=True), gr.update(visible=True), gr.update(visible=True)
34
 
35
  #from utils import get_tags_for_prompts, get_mubert_tags_embeddings, get_pat
36
 
 
30
  music_result = get_music(pat, prompt, track_duration, gen_intensity, gen_mode)
31
  #music_result = generate_track_by_prompt(pat, prompt, track_duration, gen_intensity, gen_mode)
32
  #print(pat)
33
+ return music_result, gr.update(visible=True), gr.update(visible=True), gr.update(visible=True)
34
 
35
  #from utils import get_tags_for_prompts, get_mubert_tags_embeddings, get_pat
36