Spaces:
Runtime error
Runtime error
Mark000111888
commited on
Commit
•
15e8aec
1
Parent(s):
09024ef
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,8 @@ model_location = 'Mobius-labs/JenL_demo'
|
|
14 |
#API_TOKEN = st.secrets["API_TOKEN"]
|
15 |
API_TOKEN = "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"
|
16 |
|
17 |
-
API_URL = "https://api-inference.huggingface.co/models/" + model_location
|
|
|
18 |
|
19 |
headers = {"Authorization": f"Bearer {API_TOKEN}"}
|
20 |
|
|
|
14 |
#API_TOKEN = st.secrets["API_TOKEN"]
|
15 |
API_TOKEN = "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"
|
16 |
|
17 |
+
#API_URL = "https://api-inference.huggingface.co/models/" + model_location
|
18 |
+
API_URL = "https://lbm6i9sg7qsxwtf5.us-east-1.aws.endpoints.huggingface.cloud"
|
19 |
|
20 |
headers = {"Authorization": f"Bearer {API_TOKEN}"}
|
21 |
|