Update app.py
Browse files
app.py
CHANGED
@@ -208,8 +208,8 @@ class Music2emo:
|
|
208 |
|
209 |
def predict(self, audio, threshold = 0.5):
|
210 |
|
211 |
-
feature_dir = Path("./temp_out")
|
212 |
-
output_dir = Path("./output")
|
213 |
|
214 |
if feature_dir.exists():
|
215 |
shutil.rmtree(str(feature_dir))
|
|
|
208 |
|
209 |
def predict(self, audio, threshold = 0.5):
|
210 |
|
211 |
+
feature_dir = Path("./inference/temp_out")
|
212 |
+
output_dir = Path("./inference/output")
|
213 |
|
214 |
if feature_dir.exists():
|
215 |
shutil.rmtree(str(feature_dir))
|