Commit
·
21ff782
1
Parent(s):
d078c6e
fix variables
Browse files
auto-exl2-upload/auto-exl2-upload.zip
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:60842d01f9d339adbef4da76920f36e02bed836f54e4a3844a4666abbe8bb8f9
|
3 |
+
size 8403
|
auto-exl2-upload/exl2-quant.py
CHANGED
@@ -52,7 +52,7 @@ if get_token() is not None:
|
|
52 |
login(get_token())
|
53 |
except ValueError:
|
54 |
login(input("API token is no longer valid. Enter your new HuggingFace (WRITE) token: "))
|
55 |
-
|
56 |
else:
|
57 |
#if the token is not found then prompt user to provide it:
|
58 |
login(input("API token not detected. Enter your HuggingFace (WRITE) token: "))
|
|
|
52 |
login(get_token())
|
53 |
except ValueError:
|
54 |
login(input("API token is no longer valid. Enter your new HuggingFace (WRITE) token: "))
|
55 |
+
tfound = 'false'
|
56 |
else:
|
57 |
#if the token is not found then prompt user to provide it:
|
58 |
login(input("API token not detected. Enter your HuggingFace (WRITE) token: "))
|
exl2-multi-quant-local/exl2-multi-quant-local.zip
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:30dedba5ce410f40db716290ff1defc65be3f98a89bf694f700723212e4a5465
|
3 |
+
size 7226
|
exl2-multi-quant-local/exl2-quant.py
CHANGED
@@ -41,6 +41,7 @@ if get_token() is not None:
|
|
41 |
try:
|
42 |
login(get_token())
|
43 |
except ValueError:
|
|
|
44 |
try:
|
45 |
login(input("API token is no longer valid. Enter your new HuggingFace token (empty to logout): "))
|
46 |
except:
|
@@ -48,7 +49,6 @@ if get_token() is not None:
|
|
48 |
print("Logging out... (Unable to access private or gated models)")
|
49 |
tfound = 'false but logged out'
|
50 |
time.sleep(3)
|
51 |
-
tfound = 'false'
|
52 |
else:
|
53 |
#if the token is not found then prompt user to provide it:
|
54 |
tfound = "false"
|
|
|
41 |
try:
|
42 |
login(get_token())
|
43 |
except ValueError:
|
44 |
+
tfound = 'false'
|
45 |
try:
|
46 |
login(input("API token is no longer valid. Enter your new HuggingFace token (empty to logout): "))
|
47 |
except:
|
|
|
49 |
print("Logging out... (Unable to access private or gated models)")
|
50 |
tfound = 'false but logged out'
|
51 |
time.sleep(3)
|
|
|
52 |
else:
|
53 |
#if the token is not found then prompt user to provide it:
|
54 |
tfound = "false"
|