-
Notifications
You must be signed in to change notification settings - Fork 161
Description
from inltk.inltk import identify_language
identify_language("ఋణం")
I am getting the following error:
RuntimeError Traceback (most recent call last)
in <cell line: 1>()
----> 1 identify_language("ఋణం")
/local_disk0/.ephemeral_nfs/cluster_libraries/python/lib/python3.9/site-packages/inltk/inltk.py in identify_language(input)
71 loop = asyncio.get_event_loop()
72 tasks = [asyncio.ensure_future(check_all_languages_identifying_model())]
---> 73 done = loop.run_until_complete(asyncio.gather(*tasks))[0]
74 loop.close()
75 defaults.device = torch.device('cpu')
/usr/lib/python3.9/asyncio/base_events.py in run_until_complete(self, future)
616 """
617 self._check_closed()
--> 618 self._check_running()
619
620 new_task = not futures.isfuture(future)
/usr/lib/python3.9/asyncio/base_events.py in _check_running(self)
576 def _check_running(self):
577 if self.is_running():
--> 578 raise RuntimeError('This event loop is already running')
579 if events._get_running_loop() is not None:
580 raise RuntimeError(
RuntimeError: This event loop is already running