tomoya 1 月之前
父節點
當前提交
fc1e60f2b1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      backend/app/app/api/api_v1/endpoints/text2zip.py

+ 1 - 1
backend/app/app/api/api_v1/endpoints/text2zip.py

@@ -342,7 +342,7 @@ def zip_translate(
     *,
     background_tasks: BackgroundTasks,
     upload_file: UploadFile=File(),
-    lang:Literal["en", 'zh', 'zh-TW', 'ja', 'vi']):
+    lang:str):
 
     try:
         with open(upload_file.filename, 'wb') as f: