Update app.py
Browse files
app.py
CHANGED
@@ -29,7 +29,9 @@ max_tokens = 1024
|
|
29 |
top_k = 3
|
30 |
|
31 |
# Initialize vector database in background
|
32 |
-
accelerated(initialize_database)() # Run in background with Accelerate
|
|
|
|
|
33 |
|
34 |
# Define functions (no changes needed here)
|
35 |
# ... (your existing functions here)
|
|
|
29 |
top_k = 3
|
30 |
|
31 |
# Initialize vector database in background
|
32 |
+
#accelerated(initialize_database)() # Run in background with Accelerate
|
33 |
+
accelerate(initialize_database)()
|
34 |
+
|
35 |
|
36 |
# Define functions (no changes needed here)
|
37 |
# ... (your existing functions here)
|