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