harin-khakhi commited on
Commit
a5bd21f
·
1 Parent(s): 7b1ff2b

added link to docs

Browse files
Files changed (1) hide show
  1. app.py +13 -1
app.py CHANGED
@@ -59,7 +59,19 @@ except Exception as e:
59
  # Root endpoint with documentation
60
  @app.get("/", response_class=HTMLResponse)
61
  async def root():
62
- return f"""Deepseek R1 1.5B model API"""
 
 
 
 
 
 
 
 
 
 
 
 
63
 
64
 
65
  # OpenAI-Compatible Request Schema
 
59
  # Root endpoint with documentation
60
  @app.get("/", response_class=HTMLResponse)
61
  async def root():
62
+ return f"""
63
+ <html>
64
+ <head>
65
+ </head>
66
+ <body>
67
+ <h2>API Documentation</h2>
68
+ <ul>
69
+ <li><a href="/docs">Interactive Swagger Documentation</a></li>
70
+ <li><a href="/redoc">ReDoc Documentation</a></li>
71
+ </ul>
72
+ </body>
73
+ </html>
74
+ """
75
 
76
 
77
  # OpenAI-Compatible Request Schema