Spaces:
Running
Running
Curinha
commited on
Commit
·
dd8a8e8
1
Parent(s):
71e57a3
Remove unused redirect endpoint for documentation
Browse files
app.py
CHANGED
@@ -131,10 +131,6 @@ def home():
|
|
131 |
</html>
|
132 |
"""
|
133 |
|
134 |
-
@app.get("/docs", response_class=RedirectResponse, status_code=302)
|
135 |
-
async def redirect_to_docs():
|
136 |
-
return "/docs"
|
137 |
-
|
138 |
if __name__ == "__main__":
|
139 |
uvicorn.run(app, host="0.0.0.0", port=7860)
|
140 |
|
|
|
131 |
</html>
|
132 |
"""
|
133 |
|
|
|
|
|
|
|
|
|
134 |
if __name__ == "__main__":
|
135 |
uvicorn.run(app, host="0.0.0.0", port=7860)
|
136 |
|