Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ def find_closest_neighbors(vector1, dictionary_of_vectors):
|
|
31 |
|
32 |
def predict(message, history):
|
33 |
# Connect to the database
|
34 |
-
conn = sqlite3.connect('QRIdatabase7.db')
|
35 |
cursor = conn.cursor()
|
36 |
cursor.execute('''SELECT text, embedding FROM chunks''')
|
37 |
rows = cursor.fetchall()
|
|
|
31 |
|
32 |
def predict(message, history):
|
33 |
# Connect to the database
|
34 |
+
conn = sqlite3.connect('QRIdatabase7 (1).db')
|
35 |
cursor = conn.cursor()
|
36 |
cursor.execute('''SELECT text, embedding FROM chunks''')
|
37 |
rows = cursor.fetchall()
|