update flow for the docker image
This commit is contained in:
parent
f0db050274
commit
a04f2de58f
2 changed files with 4 additions and 0 deletions
BIN
assets/topoteretes_logo.png
Normal file
BIN
assets/topoteretes_logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 27 KiB |
|
|
@ -23,7 +23,11 @@ load_dotenv()
|
||||||
OPENAI_API_KEY = os.getenv("OPENAI_API_KEY", "")
|
OPENAI_API_KEY = os.getenv("OPENAI_API_KEY", "")
|
||||||
app = FastAPI(debug=True)
|
app = FastAPI(debug=True)
|
||||||
|
|
||||||
|
from auth.cognito.JWTBearer import JWTBearer
|
||||||
|
from auth.auth import jwks
|
||||||
|
auth = JWTBearer(jwks)
|
||||||
|
|
||||||
|
from fastapi import Depends
|
||||||
class ImageResponse(BaseModel):
|
class ImageResponse(BaseModel):
|
||||||
success: bool
|
success: bool
|
||||||
message: str
|
message: str
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue