diff --git a/app/test.py b/app/test.py index 83d106d..e0ff008 100644 --- a/app/test.py +++ b/app/test.py @@ -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) })