This commit is contained in:
wataru 2022-10-30 22:42:05 +09:00
parent 9efc1234dc
commit ce747b29a4
2 changed files with 2 additions and 2 deletions

View File

@ -151,7 +151,7 @@ if __name__ == thisFilename or args.colab == True:
UPLOAD_DIR = "model_upload_dir"
os.makedirs(UPLOAD_DIR)
os.makedirs(UPLOAD_DIR, exist_ok=True)
# Can colab receive post request "ONLY" at root path?
@app_fastapi.post("/upload_model_file")
async def upload_file(configFile:UploadFile = File(...), modelFile: UploadFile = File(...)):

View File

@ -1,4 +1,4 @@
FROM dannadori/voice-changer-internal:20221030_223546 as front
FROM dannadori/voice-changer-internal:20221030_224046 as front
FROM debian:bullseye-slim as base
ARG DEBIAN_FRONTEND=noninteractive