Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|