RichardPo commited on
Commit
4ac7fee
·
1 Parent(s): 2aac2a9

Fix syntax error

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ app = FastAPI()
7
 
8
  text_model = SentenceTransformer('sentence-transformers/clip-ViT-B-32-multilingual-v1')
9
 
10
- class Item(BaseModel)
11
  texts: List[string]
12
 
13
  @app.post("/embed")
 
7
 
8
  text_model = SentenceTransformer('sentence-transformers/clip-ViT-B-32-multilingual-v1')
9
 
10
+ class Item(BaseModel):
11
  texts: List[string]
12
 
13
  @app.post("/embed")