Spaces:
Sleeping
Sleeping
Commit
·
e5b82c6
1
Parent(s):
e64befc
Update main.py
Browse files
main.py
CHANGED
|
@@ -13,7 +13,7 @@ app = FastAPI()
|
|
| 13 |
|
| 14 |
|
| 15 |
# Load the SentenceTransformer model
|
| 16 |
-
model = SentenceTransformer('sentence-transformers/all-MiniLM-L6-v2'
|
| 17 |
|
| 18 |
class StringInput(BaseModel):
|
| 19 |
sentence1: str
|
|
|
|
| 13 |
|
| 14 |
|
| 15 |
# Load the SentenceTransformer model
|
| 16 |
+
model = SentenceTransformer('sentence-transformers/all-MiniLM-L6-v2')
|
| 17 |
|
| 18 |
class StringInput(BaseModel):
|
| 19 |
sentence1: str
|