Spaces:
Runtime error
Runtime error
AnanyaPathak
commited on
Commit
•
5d7f105
1
Parent(s):
32c50ef
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ index = pinecone.Index(index_id)
|
|
12 |
|
13 |
query = st.text_input("Query (exmaple: when to raise funds?)")
|
14 |
|
15 |
-
if
|
16 |
model_id = "multi-qa-mpnet-base-dot-v1"
|
17 |
|
18 |
model = SentenceTransformer(model_id)
|
|
|
12 |
|
13 |
query = st.text_input("Query (exmaple: when to raise funds?)")
|
14 |
|
15 |
+
if query:
|
16 |
model_id = "multi-qa-mpnet-base-dot-v1"
|
17 |
|
18 |
model = SentenceTransformer(model_id)
|