asigalov61 commited on
Commit
133ccd4
1 Parent(s): 5a4550b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -2
app.py CHANGED
@@ -1,3 +1,14 @@
1
- from transformers import pipeline
 
 
2
 
3
- generator = pipeline(model="asigalov61/Allegro-Music-Transformer")
 
 
 
 
 
 
 
 
 
 
1
+ import argparse
2
+ import glob
3
+ import os.path
4
 
5
+ import gradio as gr
6
+ import numpy as np
7
+ import onnxruntime as rt
8
+ import tqdm
9
+ import json
10
+ from huggingface_hub import hf_hub_download
11
+
12
+ import TMIDIX
13
+
14
+ in_space = os.getenv("SYSTEM") == "spaces"