sanbo commited on
Commit
b734492
·
1 Parent(s): 59ea452

update sth. at 2025-01-16 22:35:44

Browse files
Files changed (2) hide show
  1. README.md +1 -2
  2. app.py +1 -0
README.md CHANGED
@@ -31,5 +31,4 @@ curl -X POST https://sanbo1200-jina-embeddings-v3.hf.space/api/v1/embeddings \
31
  "input": "Your text string goes here",
32
  "model": "jinaai/jina-embeddings-v3"
33
  }'
34
- ```
35
-
 
31
  "input": "Your text string goes here",
32
  "model": "jinaai/jina-embeddings-v3"
33
  }'
34
+ ```
 
app.py CHANGED
@@ -9,6 +9,7 @@ from typing import List, Dict
9
  from functools import lru_cache
10
  import numpy as np
11
  from threading import Lock
 
12
 
13
  class EmbeddingRequest(BaseModel):
14
  input: str
 
9
  from functools import lru_cache
10
  import numpy as np
11
  from threading import Lock
12
+ import uvicorn
13
 
14
  class EmbeddingRequest(BaseModel):
15
  input: str