complynx commited on
Commit
28d25bb
Β·
1 Parent(s): 7588eb3

Remove table name req

Browse files
Files changed (1) hide show
  1. backend/semantic_search.py +0 -2
backend/semantic_search.py CHANGED
@@ -13,8 +13,6 @@ def table(tname):
13
  tables[tname] = db.open_table(tname)
14
  return tables[tname]
15
 
16
-
17
- TABLE = db.open_table(os.getenv("TABLE_NAME"))
18
  VECTOR_COLUMN = os.getenv("VECTOR_COLUMN", "vector")
19
  TEXT_COLUMN = os.getenv("TEXT_COLUMN", "text")
20
  BATCH_SIZE = int(os.getenv("BATCH_SIZE", 32))
 
13
  tables[tname] = db.open_table(tname)
14
  return tables[tname]
15
 
 
 
16
  VECTOR_COLUMN = os.getenv("VECTOR_COLUMN", "vector")
17
  TEXT_COLUMN = os.getenv("TEXT_COLUMN", "text")
18
  BATCH_SIZE = int(os.getenv("BATCH_SIZE", 32))