cedpsam commited on
Commit
cf99b14
·
verified ·
1 Parent(s): eb357c6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ def interrogate(img):
34
  return result
35
  def rountrip(img):
36
  prompt=interrogate(img)
37
- url=pollinations_url_seedless(url)
38
  return generate_img(prompt),prompt,url
39
 
40
  demo = gr.Interface(rountrip, gr.Image(type= 'filepath'),[gr.Image(type= 'filepath'),"textbox",gr.Image(type= 'filepath')])
 
34
  return result
35
  def rountrip(img):
36
  prompt=interrogate(img)
37
+ url=pollinations_url_seedless(prompt)
38
  return generate_img(prompt),prompt,url
39
 
40
  demo = gr.Interface(rountrip, gr.Image(type= 'filepath'),[gr.Image(type= 'filepath'),"textbox",gr.Image(type= 'filepath')])