alex-abb commited on
Commit
9e7f73a
·
verified ·
1 Parent(s): cd3a076

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -10,7 +10,6 @@ api_token = os.environ.get("TOKEN")
10
  API_URL = "https://api-inference.huggingface.co/models/meta-llama/Meta-llama-3-8B-Instruct"
11
  headers = {"Authorization": f"Bearer {api_token}"}
12
 
13
- @spaces.GPU
14
 
15
  def query(payload):
16
  response = requests.post(API_URL, headers=headers, json=payload)
 
10
  API_URL = "https://api-inference.huggingface.co/models/meta-llama/Meta-llama-3-8B-Instruct"
11
  headers = {"Authorization": f"Bearer {api_token}"}
12
 
 
13
 
14
  def query(payload):
15
  response = requests.post(API_URL, headers=headers, json=payload)