{'error': 'Model zeonai/query_embedding does not exist'}

#1
by Biswa - opened
Zeonai Labs org

I have created a private model and its under an organisation. I have pinned the model too,

When I am running following code
import requests

API_URL = "https://api-inference.huggingface.co/models/zeonai/query_embedding"
headers = {"Authorization": "Bearer xxxxxxxxxxxxx"}

def query(payload):
response = requests.post(API_URL, headers=headers, json=payload)
return response.json()

output = query({
"inputs": "Today is a sunny day and I'll get some ice cream.",
})

I am getting the following error:
{'error': 'Model zeonai/query_embedding does not exist'}

Although the model actually exists and its a private model.

Sign up or log in to comment