Update api.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
parent
98a7d91380
commit
40468236f2
1 changed files with 7 additions and 1 deletions
8
api.py
8
api.py
|
|
@ -38,7 +38,13 @@ from fastapi import Depends
|
||||||
config = Config()
|
config = Config()
|
||||||
config.load()
|
config.load()
|
||||||
|
|
||||||
|
@app.get(
|
||||||
|
"/",
|
||||||
|
)
|
||||||
|
"""
|
||||||
|
Root endpoint that returns a welcome message.
|
||||||
|
"""
|
||||||
|
async def root():
|
||||||
class ImageResponse(BaseModel):
|
class ImageResponse(BaseModel):
|
||||||
success: bool
|
success: bool
|
||||||
message: str
|
message: str
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue