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 == '':
continue
t1 = time.time()
ret = requests.get('http://pd4e.com:10090/api',
params={
ret = requests.post('http://pd4e.com:10090/api',
data={
'prompt':p,
'image':file2b64(i)
})