m4k1-dev commited on
Commit
2cf22f3
·
1 Parent(s): d91d8ef

update reset output

Browse files
Files changed (1) hide show
  1. app/app.py +2 -2
app/app.py CHANGED
@@ -169,8 +169,8 @@ class ModelAPI:
169
  os.remove(filepath)
170
  except Exception as e:
171
  print(f"Error removing {filepath}: {e}")
172
- return {"status": False}
173
- return {"status": True}
174
 
175
  def run(self):
176
 
 
169
  os.remove(filepath)
170
  except Exception as e:
171
  print(f"Error removing {filepath}: {e}")
172
+ return {"status": False, "noisy": os.listdir(self.noisy_audio_path), "enhanced": os.listdir(self.enhanced_audio_path)}
173
+ return {"status": True, "noisy": os.listdir(self.noisy_audio_path), "enhanced": os.listdir(self.enhanced_audio_path)}
174
 
175
  def run(self):
176