Spaces:
Runtime error
Runtime error
Commit ·
e1e57f7
1
Parent(s): ccbf183
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ import io
|
|
| 9 |
|
| 10 |
|
| 11 |
#Image-to-text endpoint
|
| 12 |
-
def get_completion(inputs, parameters=None, ENDPOINT_URL="http://internal-aws-prod-internal-revproxy-alb-11660607.us-west-1.elb.amazonaws.com/rev-proxy/huggingface/itt"
|
| 13 |
headers = {
|
| 14 |
"Authorization": f"Bearer {HF_TOKENS}",
|
| 15 |
"Content-Type": "application/json"
|
|
|
|
| 9 |
|
| 10 |
|
| 11 |
#Image-to-text endpoint
|
| 12 |
+
def get_completion(inputs, parameters=None, ENDPOINT_URL="http://internal-aws-prod-internal-revproxy-alb-11660607.us-west-1.elb.amazonaws.com/rev-proxy/huggingface/itt"):
|
| 13 |
headers = {
|
| 14 |
"Authorization": f"Bearer {HF_TOKENS}",
|
| 15 |
"Content-Type": "application/json"
|