ktejeshnaidu commited on
Commit
132a5cc
·
verified ·
1 Parent(s): dc528a6

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -112,7 +112,7 @@ async def ingest_document(file: UploadFile = File(...)):
112
  f.write(await file.read())
113
 
114
  # Run the ingestion script
115
- process = subprocess.run(["python", "scripts/ingest.py"], capture_output=True, text=True)
116
 
117
  # Reload vectorstore inline
118
  startup_event()
 
112
  f.write(await file.read())
113
 
114
  # Run the ingestion script
115
+ process = subprocess.run(["python", "ingest.py"], capture_output=True, text=True)
116
 
117
  # Reload vectorstore inline
118
  startup_event()