Skip to content

Commit

Permalink
resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
binary-sky committed May 13, 2023
1 parent 08e184e commit 986653b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crazy_functions/图片生成.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def gen_image(llm_kwargs, prompt, resolution="256x256"):
data = {
'prompt': prompt,
'n': 1,
'size': '256x256',
'size': resolution,
'response_format': 'url'
}
response = requests.post(url, headers=headers, json=data, proxies=proxies)
Expand Down

0 comments on commit 986653b

Please sign in to comment.