Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,5 +8,5 @@ def generate_music(Prompt):
|
|
| 8 |
mus = music["audio"][0].reshape(-1)
|
| 9 |
return rate,mus
|
| 10 |
|
| 11 |
-
inf = gr.Interface(generate_music,title = "
|
| 12 |
inf.launch(share = True)
|
|
|
|
| 8 |
mus = music["audio"][0].reshape(-1)
|
| 9 |
return rate,mus
|
| 10 |
|
| 11 |
+
inf = gr.Interface(generate_music,title = "Generate your melody!", description = "Type in the kind of music you prefer and click submit", inputs =["text"], outputs=["audio"], examples = ["lo-fi music with a soothing melody", "pop music"])
|
| 12 |
inf.launch(share = True)
|