adowu commited on
Commit
d6def15
·
verified ·
1 Parent(s): c2eebb8

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -52,7 +52,7 @@ async def get_client() -> Client:
52
  global _client
53
  if _client is None:
54
  log.info("Connecting to %s", HF_SPACE_URL)
55
- _client = await asyncio.to_thread(Client, HF_SPACE_URL, show_error=True)
56
  log.info("Connected.")
57
  return _client
58
 
 
52
  global _client
53
  if _client is None:
54
  log.info("Connecting to %s", HF_SPACE_URL)
55
+ _client = await asyncio.to_thread(Client, HF_SPACE_URL)
56
  log.info("Connected.")
57
  return _client
58