Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ def load_data():
|
|
20 |
def build_index(documents):
|
21 |
for document in documents:
|
22 |
# Add a delay here
|
23 |
-
time.sleep(
|
24 |
index = GPTVectorStoreIndex.from_documents([document])
|
25 |
return index
|
26 |
|
|
|
20 |
def build_index(documents):
|
21 |
for document in documents:
|
22 |
# Add a delay here
|
23 |
+
time.sleep(5)
|
24 |
index = GPTVectorStoreIndex.from_documents([document])
|
25 |
return index
|
26 |
|