Spaces:
Running
Running
imseldrith
commited on
Commit
·
6eba982
1
Parent(s):
866f513
Update run.py
Browse files
run.py
CHANGED
@@ -7,7 +7,7 @@ app = Flask(__name__)
|
|
7 |
|
8 |
async def generate_image_async(prompt, style, ratio):
|
9 |
async with aiohttp.ClientSession() as session:
|
10 |
-
imagine = AsyncImagine(
|
11 |
|
12 |
try:
|
13 |
img_data = await imagine.sdprem(
|
|
|
7 |
|
8 |
async def generate_image_async(prompt, style, ratio):
|
9 |
async with aiohttp.ClientSession() as session:
|
10 |
+
imagine = AsyncImagine()
|
11 |
|
12 |
try:
|
13 |
img_data = await imagine.sdprem(
|