asigalov61 commited on
Commit
1ae6f31
1 Parent(s): 8c695bf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -9
app.py CHANGED
@@ -1,26 +1,20 @@
1
- # https://huggingface.co/spaces/asigalov61/Ultimate-MIDI-Classifier
2
 
3
  import os
4
  import time as reqtime
5
  import datetime
6
  from pytz import timezone
7
 
8
- import torch
9
-
10
- import spaces
11
  import gradio as gr
12
 
13
- from x_transformer_1_23_2 import *
14
-
15
  import random
16
- import re
17
- from statistics import mode
18
 
19
  import TMIDIX
 
 
20
 
21
  # =================================================================================================
22
 
23
- @spaces.GPU
24
  def ClassifyMIDI(input_midi, input_sampling_resolution):
25
 
26
  print('=' * 70)
 
1
+ # https://huggingface.co/spaces/asigalov61/Chords-Progressions-Generator
2
 
3
  import os
4
  import time as reqtime
5
  import datetime
6
  from pytz import timezone
7
 
 
 
 
8
  import gradio as gr
9
 
 
 
10
  import random
 
 
11
 
12
  import TMIDIX
13
+
14
+ import numpy as np
15
 
16
  # =================================================================================================
17
 
 
18
  def ClassifyMIDI(input_midi, input_sampling_resolution):
19
 
20
  print('=' * 70)