smileycutie0 commited on
Commit
afb8db0
·
verified ·
1 Parent(s): 6d707a6

Update client.py

Browse files
Files changed (1) hide show
  1. client.py +1 -1
client.py CHANGED
@@ -31,7 +31,7 @@ class Inference:
31
  width=1024,
32
  height=1024
33
  ):
34
- url = f"https://image.pollinations.ai/p/{quote(prompt)}"
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,