fffiloni commited on
Commit
ba26d1c
β€’
1 Parent(s): 0f006b9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -6
app.py CHANGED
@@ -10,17 +10,16 @@ def get_prompts(uploaded_image):
10
 
11
  music_result = get_music(prompt)
12
 
13
- return prompt
14
 
15
  def get_music(prompt):
16
  email = "[email protected]"
17
  duration = 30
18
  result = text_to_music(email, prompt, duration)
19
- print(f"""β€”β€”β€”β€”β€”β€”
20
- {result}
21
- """)
22
- #output = os.path.join(result, image)
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():