Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ def generate_img(prompt):
|
|
15 |
return result
|
16 |
|
17 |
def pollinations_url_seedless(a, width=512, height=512):
|
18 |
-
urlprompt=quote(a
|
19 |
url=f"https://image.pollinations.ai/prompt/{urlprompt}?width={width}&height={height}"
|
20 |
return url
|
21 |
|
|
|
15 |
return result
|
16 |
|
17 |
def pollinations_url_seedless(a, width=512, height=512):
|
18 |
+
urlprompt=quote(str(a))
|
19 |
url=f"https://image.pollinations.ai/prompt/{urlprompt}?width={width}&height={height}"
|
20 |
return url
|
21 |
|