Spaces:
Running
Running
resolution
Browse files
crazy_functions/εΎηηζ.py
CHANGED
@@ -22,7 +22,7 @@ def gen_image(llm_kwargs, prompt, resolution="256x256"):
|
|
22 |
data = {
|
23 |
'prompt': prompt,
|
24 |
'n': 1,
|
25 |
-
'size':
|
26 |
'response_format': 'url'
|
27 |
}
|
28 |
response = requests.post(url, headers=headers, json=data, proxies=proxies)
|
|
|
22 |
data = {
|
23 |
'prompt': prompt,
|
24 |
'n': 1,
|
25 |
+
'size': resolution,
|
26 |
'response_format': 'url'
|
27 |
}
|
28 |
response = requests.post(url, headers=headers, json=data, proxies=proxies)
|