Og2 commited on
Commit
9fd0b7d
·
verified ·
1 Parent(s): c954280

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -20,8 +20,8 @@ app = FastAPI()
20
  UPLOAD_DIR = "uploads"
21
  os.makedirs(UPLOAD_DIR, exist_ok=True)
22
 
23
- async @app.post("/upload-dropzone/")
24
- def upload_file(
25
  file: UploadFile = File(...),
26
  chunkIndex: int = Form(...),
27
  totalChunks: int = Form(...),
 
20
  UPLOAD_DIR = "uploads"
21
  os.makedirs(UPLOAD_DIR, exist_ok=True)
22
 
23
+ @app.post("/upload-dropzone/")
24
+ async def upload_file(
25
  file: UploadFile = File(...),
26
  chunkIndex: int = Form(...),
27
  totalChunks: int = Form(...),