Bofandra commited on
Commit
c7e3111
1 Parent(s): 4d39524

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -4,6 +4,8 @@ from huggingface_hub import InferenceClient
4
  import pandas as pd
5
  import torch
6
  import math
 
 
7
 
8
  """
9
  For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
 
4
  import pandas as pd
5
  import torch
6
  import math
7
+ import httpcore
8
+ setattr(httpcore, 'SyncHTTPTransport', 'AsyncHTTPProxy')
9
 
10
  """
11
  For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference