amirgame197
commited on
Update app.py
Browse files
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&
|
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:
|