Spaces:
Runtime error
Runtime error
Commit
·
d94c8e9
1
Parent(s):
4cc2a8a
Fix typo
Browse files- inference.py +1 -1
inference.py
CHANGED
@@ -6,7 +6,7 @@ import os
|
|
6 |
##########################
|
7 |
SECRET = os.environ["api_secret"]
|
8 |
headers = {"Authorization": "Bearer " + SECRET}
|
9 |
-
API_URL = "https://api-inference.huggingface.co/models/cccmatthew/
|
10 |
##########################
|
11 |
|
12 |
def send_request_with_retry(url, headers, json_data, retries=3, backoff_factor=1):
|
|
|
6 |
##########################
|
7 |
SECRET = os.environ["api_secret"]
|
8 |
headers = {"Authorization": "Bearer " + SECRET}
|
9 |
+
API_URL = "https://api-inference.huggingface.co/models/cccmatthew/model_test"
|
10 |
##########################
|
11 |
|
12 |
def send_request_with_retry(url, headers, json_data, retries=3, backoff_factor=1):
|