Spaces:
Runtime error
Runtime error
Remove table name req
Browse files
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))
|