Pamudu13 commited on
Commit
17b21bb
·
verified ·
1 Parent(s): 26099ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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)