astro21 commited on
Commit
ad8446f
1 Parent(s): da7be98

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +3 -3
utils.py CHANGED
@@ -10,9 +10,9 @@ from prompt_template import template_format_instructions, template
10
  from typing import List
11
 
12
  # Create a directory to store temporary files
13
- TEMP_DIR = "temp_files"
14
- if not os.path.exists(TEMP_DIR):
15
- os.makedirs(TEMP_DIR)
16
 
17
 
18
  async def process_file_with_dedoc(file: UploadFile):
 
10
  from typing import List
11
 
12
  # Create a directory to store temporary files
13
+ TEMP_DIR = "/code/temp_files"
14
+ # if not os.path.exists(TEMP_DIR):
15
+ # os.makedirs(TEMP_DIR)
16
 
17
 
18
  async def process_file_with_dedoc(file: UploadFile):