Spaces:
Sleeping
Sleeping
Update main.py
Browse files
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 =
|
| 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):
|