plaggy commited on
Commit
41169fa
1 Parent(s): 46093c3

wakeup update

Browse files
Files changed (1) hide show
  1. 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
- endpoint.resume().wait().fetch()
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: