Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -9,7 +9,7 @@ class TextRequest(BaseModel):
|
|
| 9 |
text: str
|
| 10 |
|
| 11 |
# Load Model
|
| 12 |
-
model_id = 'multilingual
|
| 13 |
model = SentenceTransformer(model_id)
|
| 14 |
|
| 15 |
@app.get("/")
|
|
|
|
| 9 |
text: str
|
| 10 |
|
| 11 |
# Load Model
|
| 12 |
+
model_id = 'intfloat/multilingual-e5-small'
|
| 13 |
model = SentenceTransformer(model_id)
|
| 14 |
|
| 15 |
@app.get("/")
|