3v324v23 commited on
Commit
0911ff4
·
1 Parent(s): bc129d5

static_tmp_path = tempfile.gettempdir()

Browse files
Files changed (1) hide show
  1. main.py +2 -1
main.py CHANGED
@@ -39,7 +39,8 @@ client = OpenAI(api_key=api_key)
39
 
40
 
41
  # === 初始設定 ===
42
- static_tmp_path = "/tmp"
 
43
  os.makedirs(static_tmp_path, exist_ok=True)
44
  base_url = os.getenv("SPACE_HOST") # e.g., "your-space-name.hf.space"
45
 
 
39
 
40
 
41
  # === 初始設定 ===
42
+ # static_tmp_path = "/tmp"
43
+ static_tmp_path = tempfile.gettempdir()
44
  os.makedirs(static_tmp_path, exist_ok=True)
45
  base_url = os.getenv("SPACE_HOST") # e.g., "your-space-name.hf.space"
46