Spaces:
Running
Running
Germano Cavalcante
commited on
Commit
•
a2e26d5
1
Parent(s):
91ad34e
Root: Update main page
Browse files- main.py +15 -1
- routers/tool_find_related_cache.pkl +2 -2
main.py
CHANGED
@@ -35,6 +35,20 @@ app.include_router(
|
|
35 |
|
36 |
@app.get("/")
|
37 |
async def root():
|
38 |
-
return
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
|
40 |
app.mount("/api/v1/static", StaticFiles(directory="static"), name="static")
|
|
|
35 |
|
36 |
@app.get("/")
|
37 |
async def root():
|
38 |
+
return """
|
39 |
+
<!DOCTYPE html>
|
40 |
+
<html>
|
41 |
+
<head>
|
42 |
+
<title>My Endpoints</title>
|
43 |
+
</head>
|
44 |
+
<body>
|
45 |
+
<h1>Welcome to @mano-wii API</h1>
|
46 |
+
<p>Click the button below to access the documentation:</p>
|
47 |
+
<a href="/api/v1/docs" style="text-decoration: none;">
|
48 |
+
<button style="padding: 10px 20px; background-color: #007BFF; color: #fff; border: none; cursor: pointer;">Go to Documentation</button>
|
49 |
+
</a>
|
50 |
+
</body>
|
51 |
+
</html>
|
52 |
+
"""
|
53 |
|
54 |
app.mount("/api/v1/static", StaticFiles(directory="static"), name="static")
|
routers/tool_find_related_cache.pkl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:65b29df34beae5a5ffb1bea995bc6267059873ca0abf0b303498622395f091a9
|
3 |
+
size 21307524
|