Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ def download_file(url):
|
|
20 |
return(file_path)
|
21 |
|
22 |
def process(prompt):
|
23 |
-
download_file("https://image.pollinations.ai/prompt/" +
|
24 |
|
25 |
iface = gr.Interface(fn=process, inputs="text", outputs="image")
|
26 |
iface.launch()
|
|
|
20 |
return(file_path)
|
21 |
|
22 |
def process(prompt):
|
23 |
+
download_file("https://image.pollinations.ai/prompt/" + prompt + ('.' * random.randint(0, 100)))
|
24 |
|
25 |
iface = gr.Interface(fn=process, inputs="text", outputs="image")
|
26 |
iface.launch()
|