Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ def get_comp(prompt):
|
|
34 |
return left_output, right_output
|
35 |
|
36 |
def get_article(db_name="miread_contrastive"):
|
37 |
-
db = vecdbs[
|
38 |
return db[0]
|
39 |
|
40 |
|
|
|
34 |
return left_output, right_output
|
35 |
|
36 |
def get_article(db_name="miread_contrastive"):
|
37 |
+
db = vecdbs[INDEXES.index(db_name)]
|
38 |
return db[0]
|
39 |
|
40 |
|