Artin2009 commited on
Commit
8b36070
1 Parent(s): 87fec15

Update chain_app.py

Browse files
Files changed (1) hide show
  1. chain_app.py +2 -1
chain_app.py CHANGED
@@ -33,7 +33,7 @@ co = cohere.Client(
33
  # def query(payload):
34
  # response = requests.post(API_URL, headers=headers, json=payload)
35
  # return response.json()
36
-
37
  @cl.set_starters
38
  async def set_starters():
39
  return [
@@ -2330,6 +2330,7 @@ async def main(message: cl.Message):
2330
  # ).send()
2331
 
2332
  API_URL = "https://api-inference.huggingface.co/models/meta-llama/Meta-Llama-3.1-405B"
 
2333
  headers = {"Authorization": "Bearer hf_token_llama_3_1"}
2334
  def query(payload):
2335
  response = requests.post(API_URL, headers=headers, json=payload)
 
33
  # def query(payload):
34
  # response = requests.post(API_URL, headers=headers, json=payload)
35
  # return response.json()
36
+ # ghrhgdgbrhguisdrhgrushgeriou
37
  @cl.set_starters
38
  async def set_starters():
39
  return [
 
2330
  # ).send()
2331
 
2332
  API_URL = "https://api-inference.huggingface.co/models/meta-llama/Meta-Llama-3.1-405B"
2333
+
2334
  headers = {"Authorization": "Bearer hf_token_llama_3_1"}
2335
  def query(payload):
2336
  response = requests.post(API_URL, headers=headers, json=payload)