This commit is contained in:
yumoqing 2024-11-12 17:59:43 +08:00
parent 1e068f1bcd
commit c4435832b7

View File

@ -23,8 +23,8 @@ while True:
if p == '' or i == '': if p == '' or i == '':
continue continue
t1 = time.time() t1 = time.time()
ret = requests.get('http://pd4e.com:10090/api', ret = requests.post('http://pd4e.com:10090/api',
params={ data={
'prompt':p, 'prompt':p,
'image':file2b64(i) 'image':file2b64(i)
}) })