mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-26 01:30:20 +01:00
Fix the download script on windows (#6)
This commit is contained in:
parent
d3bd6a3093
commit
fcda5d7107
@ -27,6 +27,8 @@ def get_file(args):
|
||||
f.write(data)
|
||||
t.close()
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
model = argv[1]
|
||||
if model[-1] == '/':
|
||||
model = model[:-1]
|
||||
|
Loading…
Reference in New Issue
Block a user