Spaces:
Runtime error
Runtime error
Simon Stolarczyk
commited on
Commit
•
7cbc42d
1
Parent(s):
a931541
Add requirements and modify card.
Browse files
.ipynb_checkpoints/README-checkpoint.md
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
title: Pop Music Transformer
|
3 |
+
emoji: ⚡
|
4 |
+
colorFrom: gray
|
5 |
+
colorTo: green
|
6 |
+
sdk: gradio
|
7 |
+
app_file: app.py
|
8 |
+
pinned: false
|
9 |
+
---
|
10 |
+
|
11 |
+
# Configuration
|
12 |
+
|
13 |
+
`title`: Finish My Song
|
14 |
+
Display title for the Space
|
15 |
+
|
16 |
+
`emoji`: 🎶
|
17 |
+
Space emoji (emoji-only character allowed)
|
18 |
+
|
19 |
+
`colorFrom`: pink
|
20 |
+
Color for Thumbnail gradient (red, yellow, green, blue, indigo, purple, pink, gray)
|
21 |
+
|
22 |
+
`colorTo`: grey
|
23 |
+
Color for Thumbnail gradient (red, yellow, green, blue, indigo, purple, pink, gray)
|
24 |
+
|
25 |
+
`sdk`: gradio
|
26 |
+
Can be either `gradio` or `streamlit`
|
27 |
+
|
28 |
+
`sdk_version` : _string_
|
29 |
+
Only applicable for `streamlit` SDK.
|
30 |
+
See [doc](https://hf.co/docs/hub/spaces) for more info on supported versions.
|
31 |
+
|
32 |
+
`app_file`: _string_
|
33 |
+
Path to your main application file (which contains either `gradio` or `streamlit` Python code).
|
34 |
+
Path is relative to the root of the repository.
|
35 |
+
|
36 |
+
`pinned`: _boolean_
|
37 |
+
Whether the Space stays on top of your list.
|
.ipynb_checkpoints/app-checkpoint.py
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
def greet(name):
|
4 |
+
return "Hello " + name + "! Let's make some music!"
|
5 |
+
|
6 |
+
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
7 |
+
iface.launch()
|
.ipynb_checkpoints/requirements-checkpoint.txt
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
musicautobot
|
2 |
+
fastai==1.0.61
|
3 |
+
music21
|
4 |
+
pebble
|
README.md
CHANGED
@@ -10,19 +10,19 @@ pinned: false
|
|
10 |
|
11 |
# Configuration
|
12 |
|
13 |
-
`title`:
|
14 |
Display title for the Space
|
15 |
|
16 |
-
`emoji`:
|
17 |
Space emoji (emoji-only character allowed)
|
18 |
|
19 |
-
`colorFrom`:
|
20 |
Color for Thumbnail gradient (red, yellow, green, blue, indigo, purple, pink, gray)
|
21 |
|
22 |
-
`colorTo`:
|
23 |
Color for Thumbnail gradient (red, yellow, green, blue, indigo, purple, pink, gray)
|
24 |
|
25 |
-
`sdk`:
|
26 |
Can be either `gradio` or `streamlit`
|
27 |
|
28 |
`sdk_version` : _string_
|
|
|
10 |
|
11 |
# Configuration
|
12 |
|
13 |
+
`title`: Finish My Song
|
14 |
Display title for the Space
|
15 |
|
16 |
+
`emoji`: 🎶
|
17 |
Space emoji (emoji-only character allowed)
|
18 |
|
19 |
+
`colorFrom`: pink
|
20 |
Color for Thumbnail gradient (red, yellow, green, blue, indigo, purple, pink, gray)
|
21 |
|
22 |
+
`colorTo`: grey
|
23 |
Color for Thumbnail gradient (red, yellow, green, blue, indigo, purple, pink, gray)
|
24 |
|
25 |
+
`sdk`: gradio
|
26 |
Can be either `gradio` or `streamlit`
|
27 |
|
28 |
`sdk_version` : _string_
|
requirements.txt
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
musicautobot
|
2 |
+
fastai==1.0.61
|
3 |
+
music21
|
4 |
+
pebble
|