Spaces:
Sleeping
Sleeping
Update app.py
Browse files22 unmodified lines2324252627282922 unmodified linesllm = OpenAI(temperature=0.2, model="gpt-4o")# check if storage already existsPERSIST_DIR = "storage"if not os.path.exists(PERSIST_DIR):# load the documents and create the indexdocuments = SimpleDirectoryReader("olah").load_data()22 unmodified lines2324252627282922 unmodified linesllm = OpenAI(temperature=0.2, model="gpt-4o")# check if storage already existsPERSIST_DIR = "storage2"if not os.path.exists(PERSIST_DIR):# load the documents and create the indexdocuments = SimpleDirectoryReader("olah").load_data()
app.py+1-1