ex510 commited on
Commit
44684d3
·
verified ·
1 Parent(s): 3b8e8ee

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -15,7 +15,7 @@ model = None
15
  tokenizer = None
16
  model_id = 'Qwen/Qwen3-Embedding-0.6B'
17
  executor = ThreadPoolExecutor(max_workers=4)
18
- MAX_TOKENS = 512
19
 
20
  @asynccontextmanager
21
  async def lifespan(app: FastAPI):
 
15
  tokenizer = None
16
  model_id = 'Qwen/Qwen3-Embedding-0.6B'
17
  executor = ThreadPoolExecutor(max_workers=4)
18
+ MAX_TOKENS = 32,000
19
 
20
  @asynccontextmanager
21
  async def lifespan(app: FastAPI):