HK0712 commited on
Commit
38eb304
·
1 Parent(s): f2a9bb4

FIX: Use /tmp directory for temp files to fix permission error

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -24,7 +24,7 @@ app.add_middleware(
24
  )
25
 
26
  # --- 全域變數和初始化邏輯 (保持不變) ---
27
- TEMP_DIR = "./temp_audio"
28
  ANALYZERS = {}
29
 
30
  if not os.path.exists(TEMP_DIR):
 
24
  )
25
 
26
  # --- 全域變數和初始化邏輯 (保持不變) ---
27
+ TEMP_DIR = "/tmp/temp_audio"
28
  ANALYZERS = {}
29
 
30
  if not os.path.exists(TEMP_DIR):