Spaces:
Paused
Paused
smileycutie0 commited on
Update client.py
Browse files
client.py
CHANGED
|
@@ -31,7 +31,7 @@ class Inference:
|
|
| 31 |
width=1024,
|
| 32 |
height=1024
|
| 33 |
):
|
| 34 |
-
url = f"https://image.pollinations.ai/
|
| 35 |
params = {
|
| 36 |
"prompt": prompt,
|
| 37 |
"seed": seed,
|
|
|
|
| 31 |
width=1024,
|
| 32 |
height=1024
|
| 33 |
):
|
| 34 |
+
url = f"https://image.pollinations.ai/prompt/{quote(prompt)}"
|
| 35 |
params = {
|
| 36 |
"prompt": prompt,
|
| 37 |
"seed": seed,
|