amirgame197 commited on
Commit
426d855
·
verified ·
1 Parent(s): 332668e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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/" + text + ('.' * random.randint(0, 100)))
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()