mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 01:04:32 +02:00
lora with multi-concept training
This commit is contained in:
@@ -71,7 +71,7 @@ async def interrogate(f):
|
||||
keywords = {}
|
||||
if 'caption' in res:
|
||||
for term in res.caption.split(', '):
|
||||
term = term.replace('(', '').replace(')', '').split(':')
|
||||
term = term.replace('(', '').replace(')', '').replace('\\', '').split(':')
|
||||
if len(term) < 2:
|
||||
continue
|
||||
keywords[term[0]] = term[1]
|
||||
|
||||
Reference in New Issue
Block a user