cedpsam commited on
Commit
45e53f7
·
verified ·
1 Parent(s): 47f7f63

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -23,7 +23,7 @@ def rountrip(img):
23
  prompt=interrogate(img)
24
  print(prompt)
25
  url=pollinations_url_seedless(prompt)
26
- return generate_img(prompt),prompt
27
 
28
- demo = gr.Interface(rountrip, gr.Image(type= 'filepath'),[gr.Image(type= 'filepath'),"textbox"])
29
  demo.launch()
 
23
  prompt=interrogate(img)
24
  print(prompt)
25
  url=pollinations_url_seedless(prompt)
26
+ return generate_img(prompt),prompt,url
27
 
28
+ demo = gr.Interface(rountrip, gr.Image(type= 'filepath'),[gr.Image(type= 'filepath'),"textbox",gr.Image()])
29
  demo.launch()