Docker containers on Spaces
I am following this tutorial to learn docker with hf spaces.Docker – 23 Mar 23Build Machine Learning Apps with Hugging Face | DockerLearn about the Hugging Face Hub and how to use its Docker Spaces to build machine learning apps effortlessly.This is the code in app.py.from fastapi import FastAPI
from transformers import pipeline

app = FastAPI(docs_url="/", openapi_url="/api/v1/openapi.json")

pipe = pipeline('text2text-generation', 
                model='google/flan-t5-small')


@app.get("/generate")
def generate(text:str):

    output = pipe(text)
    return {"output": output[0]["generated_text"]}I’m getting following error -Failed to load API definitionFetch errorresponse status is 404 /api/v1/openapi.jsonI have tried without the openapi_url argument insideFastAPI()(as written in the blog)but that is also giving the same error.Would appreciate some help in how to resolve this.PS: I ran the docker image locally and it’s not giving any issues.