app updated
Browse files
app.py
CHANGED
@@ -101,7 +101,8 @@ collection = client.create_collection(combined_string)
|
|
101 |
|
102 |
# Embed and store the first N supports for this demo
|
103 |
with st.spinner("Loading, please be patient with us ... π"):
|
104 |
-
L = len(dataset["train"]["questions"])
|
|
|
105 |
begin_t = time.time()
|
106 |
collection.add(
|
107 |
ids=[str(i) for i in range(0, L)], # IDs are just strings
|
|
|
101 |
|
102 |
# Embed and store the first N supports for this demo
|
103 |
with st.spinner("Loading, please be patient with us ... π"):
|
104 |
+
# L = len(dataset["train"]["questions"])
|
105 |
+
L = 30
|
106 |
begin_t = time.time()
|
107 |
collection.add(
|
108 |
ids=[str(i) for i in range(0, L)], # IDs are just strings
|