Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -188,7 +188,7 @@ def submit(
|
|
188 |
"Authorization": f"Bearer {hf_token_input.strip()}",
|
189 |
"Content-Type": "application/json",
|
190 |
}
|
191 |
-
endpoint_url = f"https://api.endpoints.huggingface.cloud/v2/endpoint/{hf_account_input.strip()}"
|
192 |
print(endpoint_url)
|
193 |
|
194 |
response = requests.post(endpoint_url, headers=headers, data=payload)
|
|
|
188 |
"Authorization": f"Bearer {hf_token_input.strip()}",
|
189 |
"Content-Type": "application/json",
|
190 |
}
|
191 |
+
endpoint_url = f"https://api.endpoints.huggingface.cloud/v2/endpoint/"#{hf_account_input.strip()}"
|
192 |
print(endpoint_url)
|
193 |
|
194 |
response = requests.post(endpoint_url, headers=headers, data=payload)
|