Spaces:
Sleeping
Sleeping
Update utils.py
Browse files
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 |
-
|
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):
|