Almaatla commited on
Commit
2e6f539
·
verified ·
1 Parent(s): 334632d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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