tomoya 1 개월 전
부모
커밋
da067ac566
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

@@ -174,7 +174,7 @@ async def wait_finish(model, email, texts, lang):
     ws['A1'] = '大標'
     ws['B1'] = '字幕'
     ws['C1'] = '素材'
-    td = Path(f'{td}/{datetime.datetime.now().strftime("%Y%m%d%H%M%S-td")}')
+    td = Path(f'/tmp/{datetime.datetime.now().strftime("%Y%m%d%H%M%S-td")}')
     td.mkdir(exist_ok=False)
     dir = td/f'{datetime.datetime.now().strftime("%Y%m%d%H%M%S")}'
     dir.mkdir(exist_ok=False)