Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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)
|