RichardPo commited on
Commit
0c48bcc
·
1 Parent(s): 4ac7fee

Fix syntax error

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ app = FastAPI()
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")
14
  def embed(item: Item):
 
8
  text_model = SentenceTransformer('sentence-transformers/clip-ViT-B-32-multilingual-v1')
9
 
10
  class Item(BaseModel):
11
+ texts: List
12
 
13
  @app.post("/embed")
14
  def embed(item: Item):