mirror of https://github.com/leafspark/AutoGGUF
modify backend check logic
This commit is contained in:
parent
cb11440e1f
commit
a2fce58423
1
run.bat
1
run.bat
|
@ -1,4 +1,5 @@
|
||||||
@echo off
|
@echo off
|
||||||
set PYTHONIOENCODING=utf-8
|
set PYTHONIOENCODING=utf-8
|
||||||
set AUTOGGUF_LANGUAGE=en-US
|
set AUTOGGUF_LANGUAGE=en-US
|
||||||
|
set AUTOGGUF_CHECK_BACKEND=disabled
|
||||||
python src/main.py
|
python src/main.py
|
|
@ -89,7 +89,8 @@ def __init__(self):
|
||||||
right_layout.addWidget(download_group)
|
right_layout.addWidget(download_group)
|
||||||
|
|
||||||
# Initialize releases and backends
|
# Initialize releases and backends
|
||||||
self.refresh_releases()
|
if os.environ.get('AUTOGGUF_CHECK_BACKEND', '').lower() == 'enabled':
|
||||||
|
self.refresh_releases()
|
||||||
self.refresh_backends()
|
self.refresh_backends()
|
||||||
|
|
||||||
# Models path
|
# Models path
|
||||||
|
|
Loading…
Reference in New Issue