sd3 why????
Browse files- App/Generate/database/Vercel.py +12 -13
App/Generate/database/Vercel.py
CHANGED
|
@@ -44,7 +44,7 @@ class AsyncImageGenerator:
|
|
| 44 |
"cfg": 2.5,
|
| 45 |
# "seed": 42,
|
| 46 |
"image": "https://image.lexica.art/full_webp/e41b87fb-4cc3-43cd-a6e6-f3dbb08c2399",
|
| 47 |
-
"steps":
|
| 48 |
"width": 1024,
|
| 49 |
"height": 1536,
|
| 50 |
"prompt": payload,
|
|
@@ -136,19 +136,18 @@ async def process_images(payloads):
|
|
| 136 |
return results
|
| 137 |
|
| 138 |
|
| 139 |
-
# # Example payloads
|
| 140 |
-
payloads = [
|
| 141 |
-
|
| 142 |
-
|
| 143 |
-
|
| 144 |
-
|
| 145 |
-
]
|
| 146 |
|
| 147 |
|
| 148 |
-
# # Run the asyncio event loop
|
| 149 |
-
async def main():
|
| 150 |
-
|
| 151 |
-
|
| 152 |
|
| 153 |
|
| 154 |
-
asyncio.run(main())
|
|
|
|
| 44 |
"cfg": 2.5,
|
| 45 |
# "seed": 42,
|
| 46 |
"image": "https://image.lexica.art/full_webp/e41b87fb-4cc3-43cd-a6e6-f3dbb08c2399",
|
| 47 |
+
"steps": 28,
|
| 48 |
"width": 1024,
|
| 49 |
"height": 1536,
|
| 50 |
"prompt": payload,
|
|
|
|
| 136 |
return results
|
| 137 |
|
| 138 |
|
| 139 |
+
# # # Example payloads
|
| 140 |
+
# payloads = [
|
| 141 |
+
# """
|
| 142 |
+
# Awsome cat
|
| 143 |
+
# """
|
| 144 |
+
# ]
|
|
|
|
| 145 |
|
| 146 |
|
| 147 |
+
# # # Run the asyncio event loop
|
| 148 |
+
# async def main():
|
| 149 |
+
# results = await process_images(payloads)
|
| 150 |
+
# pprint.pprint(results)
|
| 151 |
|
| 152 |
|
| 153 |
+
# asyncio.run(main())
|