Spaces:
Runtime error
Runtime error
wakeup update
Browse files- embed_utils.py +1 -3
embed_utils.py
CHANGED
|
@@ -13,9 +13,7 @@ logging.basicConfig(level=logging.INFO)
|
|
| 13 |
logger = logging.getLogger(__name__)
|
| 14 |
|
| 15 |
endpoint = get_inference_endpoint(env_config.tei_name, token=env_config.hf_token)
|
| 16 |
-
|
| 17 |
-
url = endpoint.url
|
| 18 |
-
a = 5
|
| 19 |
|
| 20 |
async def embed_chunk(sentence, semaphore, tmp_file):
|
| 21 |
async with semaphore:
|
|
|
|
| 13 |
logger = logging.getLogger(__name__)
|
| 14 |
|
| 15 |
endpoint = get_inference_endpoint(env_config.tei_name, token=env_config.hf_token)
|
| 16 |
+
|
|
|
|
|
|
|
| 17 |
|
| 18 |
async def embed_chunk(sentence, semaphore, tmp_file):
|
| 19 |
async with semaphore:
|