ffreemt
commited on
Commit
•
e433d54
1
Parent(s):
c911921
Update filename=Q4_K_M
Browse files
app.py
CHANGED
@@ -36,6 +36,7 @@ for idx in range(5):
|
|
36 |
except Exception as exc:
|
37 |
logger.error(f"failed to download {filename}: {exc}")
|
38 |
# raise SystemExit("hf acting up, can't donwload the model {filename=}, exiting")
|
|
|
39 |
else:
|
40 |
logger.warning("Tried 5 times to no vain")
|
41 |
raise gr.Error(f"hf acting up, can't donwload the model {filename=}, exiting")
|
|
|
36 |
except Exception as exc:
|
37 |
logger.error(f"failed to download {filename}: {exc}")
|
38 |
# raise SystemExit("hf acting up, can't donwload the model {filename=}, exiting")
|
39 |
+
time.sleep(3)
|
40 |
else:
|
41 |
logger.warning("Tried 5 times to no vain")
|
42 |
raise gr.Error(f"hf acting up, can't donwload the model {filename=}, exiting")
|