polinaeterna HF staff commited on
Commit
ab1146b
1 Parent(s): c73aad4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
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))