neobot commited on
Commit
e0f5a82
·
1 Parent(s): 4e1d7e4
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -148,7 +148,7 @@ if st.button('Submit'):
148
  st.session_state['count_checked'] = 0
149
  st.session_state['checked_boxes'] = []
150
 
151
- # ### call OpenAI text-embedding
152
  res = openai.Embedding.create(model=EMBEDDING_MODEL, input=[query], api_key=OPENAI_API_KEY)
153
  xq = res['data'][0]['embedding']
154
  out = query_pinecone(xq, top_k=TOP_K, include_metadata=True)
 
148
  st.session_state['count_checked'] = 0
149
  st.session_state['checked_boxes'] = []
150
 
151
+ ### call OpenAI text-embedding
152
  res = openai.Embedding.create(model=EMBEDDING_MODEL, input=[query], api_key=OPENAI_API_KEY)
153
  xq = res['data'][0]['embedding']
154
  out = query_pinecone(xq, top_k=TOP_K, include_metadata=True)