mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 08:07:56 +01:00
Update download-model.py
This commit is contained in:
parent
18ef72d7c0
commit
1e541d4882
@ -42,7 +42,7 @@ def sanitize_branch_name(branch_name):
|
||||
raise ValueError("Invalid branch name. Only alphanumeric characters, period, underscore and dash are allowed.")
|
||||
|
||||
if __name__ == '__main__':
|
||||
model = args.model
|
||||
model = args.MODEL
|
||||
if model[-1] == '/':
|
||||
model = model[:-1]
|
||||
branch = args.branch
|
||||
|
Loading…
Reference in New Issue
Block a user