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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +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 + "?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:
 
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&nologo=true&seed=" + str(random.randint(0, 999999999)))
13
  if response.status_code == 200:
14
 
15
  with open(file_path, "wb") as f: