We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09702d2 commit a4911eeCopy full SHA for a4911ee
webui.py
@@ -360,8 +360,8 @@ def train():
360
}
361
response = requests.post(url=f'{api_endpoint}/sd/user', json=inputs)
362
if response.status_code == 200 and response.text != '':
363
- user = json.loads(response.text)
364
- opts.data = user['options']
+ data = json.loads(response.text)
+ opts.data = data['options']
365
modules.sd_models.load_model()
366
367
if train_task == 'embedding':
0 commit comments