Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -62,7 +62,7 @@ def get_track_by_tags(tags, pat, duration, gen_intensity, gen_mode, maxit=20):
|
|
62 |
|
63 |
def generate_track_by_prompt(prompt, duration, gen_intensity, gen_mode):
|
64 |
try:
|
65 |
-
pat = get_pat("
|
66 |
_, tags = get_tags_for_prompts(minilm, mubert_tags_embeddings, [prompt, ])[0]
|
67 |
result = get_track_by_tags(tags, pat, int(duration), gen_intensity, gen_mode)
|
68 |
print(result)
|
|
|
62 |
|
63 |
def generate_track_by_prompt(prompt, duration, gen_intensity, gen_mode):
|
64 |
try:
|
65 |
+
pat = get_pat("mail@mail.com")
|
66 |
_, tags = get_tags_for_prompts(minilm, mubert_tags_embeddings, [prompt, ])[0]
|
67 |
result = get_track_by_tags(tags, pat, int(duration), gen_intensity, gen_mode)
|
68 |
print(result)
|