amirgame197 commited on
Commit
2ed3610
·
verified ·
1 Parent(s): e475598

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -9,8 +9,7 @@ def process(Prompt):
9
 
10
  file_path = os.path.join(os.path.dirname(__file__), filename)
11
 
12
- response = requests.get("https://image.pollinations.ai/prompt/" + Prompt + "&width=1536&height=1536&nologo=true&seed=" + str(random.randint(0, 999999999)))
13
-
14
  if response.status_code == 200:
15
 
16
  with open(file_path, "wb") as f:
 
9
 
10
  file_path = os.path.join(os.path.dirname(__file__), filename)
11
 
12
+ response = requests.get("https://image.pollinations.ai/prompt/" + Prompt + "?model=flux-realism&width=2048&height=2048&enhance=true&nologo=true&seed=" + str(random.randint(0, 999999999)))
 
13
  if response.status_code == 200:
14
 
15
  with open(file_path, "wb") as f: