Skip to content

Commit

Permalink
fix issues with api_endpoint when training
Browse files Browse the repository at this point in the history
  • Loading branch information
xieyongliang committed Mar 15, 2023
1 parent 460fe3b commit 569eb3a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@
sd_model_checkpoint_component = None
create_train_dreambooth_component = None
username = ''
else:
api_endpoint = cmd_opts.api_endpoint

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

0 comments on commit 569eb3a

Please sign in to comment.