testDocker / app.py
NameIsJACK's picture
testing secrets
c25ebd9
raw
history blame
200 Bytes
from fastapi import FastAPI
from config import settings
app = FastAPI()
huggingface_key = settings.huggingface_key
@app.get("/")
def greet_json():
return {"HUGGINGFACE_API_KEY": huggingface_key}