Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,7 +28,7 @@ qa_chain = None
|
|
| 28 |
vector_db = None
|
| 29 |
api_token =os.getenv("HF_TOKEN")
|
| 30 |
pdf_chunks = {}
|
| 31 |
-
app.config['UPLOAD_FOLDER'] = 'temp_uploads'
|
| 32 |
|
| 33 |
# Create upload folder if it doesn't exist
|
| 34 |
Path(app.config['UPLOAD_FOLDER']).mkdir(parents=True, exist_ok=True)
|
|
|
|
| 28 |
vector_db = None
|
| 29 |
api_token =os.getenv("HF_TOKEN")
|
| 30 |
pdf_chunks = {}
|
| 31 |
+
app.config['UPLOAD_FOLDER'] = '/tmp/temp_uploads'
|
| 32 |
|
| 33 |
# Create upload folder if it doesn't exist
|
| 34 |
Path(app.config['UPLOAD_FOLDER']).mkdir(parents=True, exist_ok=True)
|