Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,6 +18,9 @@ from transformers import AutoModel, AutoTokenizer, AutoConfig
|
|
| 18 |
from tqdm import tqdm
|
| 19 |
|
| 20 |
|
|
|
|
|
|
|
|
|
|
| 21 |
session = requests.Session()
|
| 22 |
retries = Retry(total=5, backoff_factor=1, status_forcelist=[502, 503, 504])
|
| 23 |
session.mount('http://', HTTPAdapter(max_retries=retries))
|
|
|
|
| 18 |
from tqdm import tqdm
|
| 19 |
|
| 20 |
|
| 21 |
+
logging.basicConfig(level=logging.DEBUG, format="%(asctime)s - %(levelname)s - %(message)s")
|
| 22 |
+
|
| 23 |
+
|
| 24 |
session = requests.Session()
|
| 25 |
retries = Retry(total=5, backoff_factor=1, status_forcelist=[502, 503, 504])
|
| 26 |
session.mount('http://', HTTPAdapter(max_retries=retries))
|