Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ from fastapi.middleware.cors import CORSMiddleware
|
|
2 |
from fastapi import FastAPI
|
3 |
import sentence_embeddings
|
4 |
|
5 |
-
app = FastAPI()
|
6 |
|
7 |
# CORS Support: https://stackoverflow.com/a/66460861
|
8 |
origins = ["*"]
|
|
|
2 |
from fastapi import FastAPI
|
3 |
import sentence_embeddings
|
4 |
|
5 |
+
app = FastAPI(docs_url="/", redoc_url=None)
|
6 |
|
7 |
# CORS Support: https://stackoverflow.com/a/66460861
|
8 |
origins = ["*"]
|