Spaces:
Sleeping
Sleeping
bertugmirasyedi
commited on
Commit
·
e02dc08
1
Parent(s):
d5413e0
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
from fastapi import FastAPI
|
2 |
|
3 |
# Define the FastAPI app
|
4 |
-
app = FastAPI()
|
5 |
|
6 |
@app.get("/search={query}&similarity={similarity}")
|
7 |
def search(query, similarity=False):
|
|
|
1 |
from fastapi import FastAPI
|
2 |
|
3 |
# Define the FastAPI app
|
4 |
+
app = FastAPI(docs_url="/")
|
5 |
|
6 |
@app.get("/search={query}&similarity={similarity}")
|
7 |
def search(query, similarity=False):
|