Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ app = FastAPI()
|
|
7 |
model = SentenceTransformer('paraphrase-MiniLM-L6-v2')
|
8 |
index = faiss.IndexFlatL2(384) # 384 is the dimensionality of the MiniLM model
|
9 |
|
10 |
-
@app.get("/")
|
11 |
def greet_json():
|
12 |
return {"Hello": "World!"}
|
13 |
|
|
|
7 |
model = SentenceTransformer('paraphrase-MiniLM-L6-v2')
|
8 |
index = faiss.IndexFlatL2(384) # 384 is the dimensionality of the MiniLM model
|
9 |
|
10 |
+
@app.get("/hello")
|
11 |
def greet_json():
|
12 |
return {"Hello": "World!"}
|
13 |
|