Spaces:
Sleeping
Sleeping
Update app.py
Browse files8 unmodified lines9101112131415168 unmodified linesfile_path = os.path.join(os.path.dirname(__file__), filename)response = requests.get("https://image.pollinations.ai/prompt/" + Prompt + "&width=1536&height=1536&nologo=true&seed=" + str(random.randint(0, 999999999)))if response.status_code == 200:with open(file_path, "wb") as f:8 unmodified lines91011121314158 unmodified linesfile_path = os.path.join(os.path.dirname(__file__), filename)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)))if response.status_code == 200:with open(file_path, "wb") as f:
app.py+1-2