AnanyaPathak commited on
Commit
5d7f105
1 Parent(s): 32c50ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 text:
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)