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

Update app.py

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