Skip to content

Commit

Permalink
docs added to ai endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
jayasankar committed Feb 22, 2024
1 parent 8194494 commit 988c6a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
\n • For Vachan-CMS docs: {root_url}/v2/cms/rest/docs,\
\n • For Vachan-TBT docs: {root_url}/v2/text/translate/token-based/docs,\
\n • For Vachan-Auth docs: {root_url}/v2/auth/docs,\
\n • For Vachan-AI docs: {root_url}/v2/ai/model")
\n • For Vachan-AI docs: {root_url}/v2/ai/model/docs")
template = Jinja2Templates(directory="templates")
app.mount("/static", StaticFiles(directory="static"), name="static")

Expand Down Expand Up @@ -246,7 +246,7 @@ def custom_openapi():
f"<br> • <a href=\"{root_url}/v2/text/translate/token-based/docs\" > Vachan-TBT docs </a>"
f"<br> • <a href=\"{root_url}/v2/cms/rest/docs\" > Vachan-CMS docs </a>"
f"<br> • <a href=\"{root_url}/v2/auth/docs\" > Vachan-Auth docs </a>"
f"<br> • <a href=\"{root_url}/v2/ai/model\" > Vachan-AI docs </a>"
f"<br> • <a href=\"{root_url}/v2/ai/model/docs\" > Vachan-AI docs </a>"

),
routes=app.routes
Expand Down

0 comments on commit 988c6a6

Please sign in to comment.