Og2 commited on
Commit
9483e79
·
verified ·
1 Parent(s): afb97e6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -630,9 +630,8 @@ async def upload_csv(
630
  video_path: str = Form(...)
631
  ):
632
  try:
633
- target_dir = UPLOAD_DIR
634
  csv_filename = Path(video_path).stem + ".csv"
635
- csv_path = target_dir / csv_filename
636
 
637
  if not csv_path.exists():
638
  raise HTTPException(status_code=404, detail="Le fichier CSV n'existe pas.")
 
630
  video_path: str = Form(...)
631
  ):
632
  try:
 
633
  csv_filename = Path(video_path).stem + ".csv"
634
+ csv_path = UPLOAD_DIR / csv_filename
635
 
636
  if not csv_path.exists():
637
  raise HTTPException(status_code=404, detail="Le fichier CSV n'existe pas.")