Hosted infernce API stable diffusion with colab not working?

hi ,i m new here i want to access my Fine Tuned hosted Stable Diffusion Model using Inference Api via google colab while doing so i m getting this response
heres my basic code:

import json
import requests
API_URL = "https://api-inference.huggingface.co/models/nicky007/stable-diffusion-logo-fine-tuned"
Api_token="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"
headers = {"Authorization": f"Bearer {Api_token}"}
def query(payload):
    data = json.dumps(payload)
    response = requests.request("POST", API_URL, headers=headers, data=data)
    print(response.content)
    return json.loads(response.content.decode("utf-8"))
data = query("logo of a iphone")
data

heres the response:

b'{"error":"Model nicky007/stable-diffusion-logo-fine-tuned is currently loading","estimated_time":20.0}'

{'error': 'Model nicky007/stable-diffusion-logo-fine-tuned is currently loading',
 'estimated_time': 20.0

my question how i can get created image data using this inference api please help me

me too ,can you solve it ?

No still looking for solution

hey @nicky007 sorry about that. I’m not personally super familiar with the inference api, it might be helpful to checkout this thread What is 'model is currently loading;' - #7 by deseipel