Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -10,17 +10,16 @@ def get_prompts(uploaded_image):
|
|
10 |
|
11 |
music_result = get_music(prompt)
|
12 |
|
13 |
-
return
|
14 |
|
15 |
def get_music(prompt):
|
16 |
email = "[email protected]"
|
17 |
duration = 30
|
18 |
result = text_to_music(email, prompt, duration)
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
return result
|
24 |
|
25 |
with gr.Blocks() as demo:
|
26 |
with gr.Row():
|
|
|
10 |
|
11 |
music_result = get_music(prompt)
|
12 |
|
13 |
+
return music_result
|
14 |
|
15 |
def get_music(prompt):
|
16 |
email = "[email protected]"
|
17 |
duration = 30
|
18 |
result = text_to_music(email, prompt, duration)
|
19 |
+
|
20 |
+
output = os.path.join(result)
|
21 |
+
print(output)
|
22 |
+
return prompt
|
|
|
23 |
|
24 |
with gr.Blocks() as demo:
|
25 |
with gr.Row():
|