Mohammedelhakim commited on
Commit
04e6dec
·
verified ·
1 Parent(s): 367fbf1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -139,7 +139,7 @@ app = FastAPI(
139
  @app.post("/predict")
140
  async def predict(
141
  file: UploadFile = File(...),
142
- detection_threshold: float = 0.212,
143
  classification_threshold: float = 0.6
144
  ):
145
  if not file.filename.lower().endswith((".wav", ".mp3", ".flac", ".ogg")):
 
139
  @app.post("/predict")
140
  async def predict(
141
  file: UploadFile = File(...),
142
+ detection_threshold: float = 0.5,
143
  classification_threshold: float = 0.6
144
  ):
145
  if not file.filename.lower().endswith((".wav", ".mp3", ".flac", ".ogg")):