Skip to content

Commit 569eb3a

Browse files
committed
fix issues with api_endpoint when training
1 parent 460fe3b commit 569eb3a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/shared.py

+2
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@
145145
sd_model_checkpoint_component = None
146146
create_train_dreambooth_component = None
147147
username = ''
148+
else:
149+
api_endpoint = cmd_opts.api_endpoint
148150

149151
response = requests.get(url=f'{api_endpoint}/sd/industrialmodel')
150152
if response.status_code == 200:

0 commit comments

Comments
 (0)