Spaces:
Running
Running
asigalov61
commited on
Commit
•
eec4853
1
Parent(s):
e469266
Update app.py
Browse files
app.py
CHANGED
@@ -184,9 +184,12 @@ if __name__ == "__main__":
|
|
184 |
parser.add_argument("--share", action="store_true", default=False, help="share gradio app")
|
185 |
parser.add_argument("--port", type=int, default=7860, help="gradio server port")
|
186 |
parser.add_argument("--max-gen", type=int, default=1024, help="max")
|
|
|
187 |
opt = parser.parse_args()
|
|
|
188 |
soundfont_path = "SGM-v2.01-YamahaGrand-Guit-Bass-v2.7.sf2"
|
189 |
-
meta_data_path = "
|
|
|
190 |
models_info = {"generic pretrain model": ["skytnt/midi-model", ""],
|
191 |
"j-pop finetune model": ["skytnt/midi-model-ft", "jpop/"],
|
192 |
"touhou finetune model": ["skytnt/midi-model-ft", "touhou/"]}
|
|
|
184 |
parser.add_argument("--share", action="store_true", default=False, help="share gradio app")
|
185 |
parser.add_argument("--port", type=int, default=7860, help="gradio server port")
|
186 |
parser.add_argument("--max-gen", type=int, default=1024, help="max")
|
187 |
+
|
188 |
opt = parser.parse_args()
|
189 |
+
|
190 |
soundfont_path = "SGM-v2.01-YamahaGrand-Guit-Bass-v2.7.sf2"
|
191 |
+
meta_data_path = "meta-data/LAMD_META_10000.pickle"
|
192 |
+
|
193 |
models_info = {"generic pretrain model": ["skytnt/midi-model", ""],
|
194 |
"j-pop finetune model": ["skytnt/midi-model-ft", "jpop/"],
|
195 |
"touhou finetune model": ["skytnt/midi-model-ft", "touhou/"]}
|