mirror of
https://github.com/w-okada/voice-changer.git
synced 2025-01-23 05:25:01 +03:00
update
This commit is contained in:
parent
9efc1234dc
commit
ce747b29a4
@ -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(...)):
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user