mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2025-02-05 00:10:46 +01:00
Installer: small fixes
This commit is contained in:
parent
f01cc079b9
commit
b614ea6596
@ -367,6 +367,8 @@ def update_requirements(initial_installation=False, pull=True):
|
||||
|
||||
if 'wheels_changed' in last_state or last_state.get('last_installed_commit') != current_commit:
|
||||
wheels_changed = True
|
||||
else:
|
||||
wheels_changed = True
|
||||
|
||||
if pull:
|
||||
# Read .whl lines before pulling
|
||||
@ -409,7 +411,7 @@ def update_requirements(initial_installation=False, pull=True):
|
||||
with open(state_file, 'w') as f:
|
||||
json.dump(current_state, f)
|
||||
|
||||
exit(1)
|
||||
sys.exit(1)
|
||||
|
||||
# Save current state
|
||||
current_state = {'last_installed_commit': current_commit}
|
||||
|
Loading…
Reference in New Issue
Block a user