Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ chunk_size = 600
|
|
27 |
chunk_overlap = 40
|
28 |
|
29 |
# Initialize vector database in background
|
30 |
-
|
31 |
|
32 |
|
33 |
def initialize_database():
|
|
|
27 |
chunk_overlap = 40
|
28 |
|
29 |
# Initialize vector database in background
|
30 |
+
accelerate(initialize_database)() # Function definition moved here
|
31 |
|
32 |
|
33 |
def initialize_database():
|