jonathanjordan21 commited on
Commit
69fc1f0
·
verified ·
1 Parent(s): 323be74

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -60,7 +60,7 @@ async def main2(request: Request):
60
  base_url="https://lintasmediadanawa-hf-llm-api.hf.space",
61
  embed_instruction="",
62
  query_instruction="Instruct: Given a web search query, retrieve relevant passages that answer the query\nQuery: ",
63
- headers={"Authorization": f"Bearer {os.getenv("HF_WRITE_TOKEN")}"},
64
  )
65
  vecs = FAISS.from_texts(["haha"], emb)
66
  api = HfApi()
 
60
  base_url="https://lintasmediadanawa-hf-llm-api.hf.space",
61
  embed_instruction="",
62
  query_instruction="Instruct: Given a web search query, retrieve relevant passages that answer the query\nQuery: ",
63
+ headers={"Authorization": f"Bearer {os.getenv('HF_WRITE_TOKEN')}"},
64
  )
65
  vecs = FAISS.from_texts(["haha"], emb)
66
  api = HfApi()