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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -34,8 +34,9 @@ def interrogate(img):
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')])
41
  demo.launch()
 
34
  return result
35
  def rountrip(img):
36
  prompt=interrogate(img)
37
+ print(url)
38
+ # url=pollinations_url_seedless(prompt)
39
  return generate_img(prompt),prompt,url
40
 
41
+ demo = gr.Interface(rountrip, gr.Image(type= 'filepath'),[gr.Image(type= 'filepath'),"textbox"])
42
  demo.launch()