website-RAG / app.py
beeguy's picture
gitignore and test of secrets
27d375b
raw
history blame
179 Bytes
from fastapi import FastAPI
from os import getenv
app = FastAPI()
MY_KEY = getenv("MY_KEY")
@app.get("/")
def greet_json():
return {"Hello": "World! My key is: " + MY_KEY}