Zmypl commited on
Commit
ef5318f
·
verified ·
1 Parent(s): fbb8659

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -65,7 +65,7 @@ def store_embedding(file_id, chunk_index, embedding, chunk_text):
65
 
66
  def get_embeddings(file_id):
67
  """Retrieve embeddings and their corresponding chunk texts from the database."""
68
- cursor.execute("SELECT chunk_index, embedding, chunk_text FROM embeddings)
69
  return cursor.fetchall()
70
 
71
  def generate_verification_code(length=6):
 
65
 
66
  def get_embeddings(file_id):
67
  """Retrieve embeddings and their corresponding chunk texts from the database."""
68
+ cursor.execute("SELECT chunk_index, embedding, chunk_text FROM embeddings")
69
  return cursor.fetchall()
70
 
71
  def generate_verification_code(length=6):