parent
7dc87984a2
commit
d37a28730d
3 changed files with 14 additions and 1 deletions
|
@ -38,6 +38,7 @@ import zipfile
|
|||
from datetime import datetime
|
||||
from functools import partial
|
||||
from pathlib import Path
|
||||
from threading import Lock
|
||||
|
||||
import psutil
|
||||
import torch
|
||||
|
@ -1075,6 +1076,7 @@ if __name__ == "__main__":
|
|||
'instruction_template': shared.settings['instruction_template']
|
||||
})
|
||||
|
||||
shared.generation_lock = Lock()
|
||||
# Launch the web UI
|
||||
create_interface()
|
||||
while True:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue