Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
·
6ec6561
1
Parent(s):
859c211
Single output
Browse files
app.py
CHANGED
@@ -81,7 +81,7 @@ def process_youtube_address(youtube_address):
|
|
81 |
|
82 |
def process_micro(micro):
|
83 |
x=preprocess_audio(micro)
|
84 |
-
output
|
85 |
print(output)
|
86 |
result = postprocess_output(output)
|
87 |
|
@@ -91,7 +91,7 @@ def process_file(file):
|
|
91 |
x,fs = librosa.load(file, sr=FS)
|
92 |
x=preprocess_audio((fs,x))
|
93 |
print("Running model")
|
94 |
-
output
|
95 |
print(output)
|
96 |
result = postprocess_output(output)
|
97 |
|
@@ -107,7 +107,7 @@ def process_files(files):
|
|
107 |
x,fs = librosa.load(file, sr=FS)
|
108 |
x=preprocess_audio((fs,x))
|
109 |
print("Running model")
|
110 |
-
output
|
111 |
print(output)
|
112 |
result = postprocess_output(output)
|
113 |
resout.append(result)
|
|
|
81 |
|
82 |
def process_micro(micro):
|
83 |
x=preprocess_audio(micro)
|
84 |
+
output = MODEL(x)
|
85 |
print(output)
|
86 |
result = postprocess_output(output)
|
87 |
|
|
|
91 |
x,fs = librosa.load(file, sr=FS)
|
92 |
x=preprocess_audio((fs,x))
|
93 |
print("Running model")
|
94 |
+
output = MODEL(x)
|
95 |
print(output)
|
96 |
result = postprocess_output(output)
|
97 |
|
|
|
107 |
x,fs = librosa.load(file, sr=FS)
|
108 |
x=preprocess_audio((fs,x))
|
109 |
print("Running model")
|
110 |
+
output = MODEL(x)
|
111 |
print(output)
|
112 |
result = postprocess_output(output)
|
113 |
resout.append(result)
|