kjysmu commited on
Commit
1b8aad2
·
verified ·
1 Parent(s): 2822008

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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))