Spaces:
Sleeping
Sleeping
Prathamesh1420
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -24,11 +24,7 @@ parser = LlamaParse(api_key=llama_cloud_key, result_type="markdown")
|
|
24 |
|
25 |
|
26 |
|
27 |
-
# Set Hugging Face cache directory to a writable path
|
28 |
-
os.environ["TRANSFORMERS_CACHE"] = "/tmp/huggingface_cache"
|
29 |
|
30 |
-
# Make sure the directory exists
|
31 |
-
os.makedirs("/tmp/huggingface_cache", exist_ok=True)
|
32 |
|
33 |
|
34 |
# Define file extractor with various common extensions
|
|
|
24 |
|
25 |
|
26 |
|
|
|
|
|
27 |
|
|
|
|
|
28 |
|
29 |
|
30 |
# Define file extractor with various common extensions
|