cedpsam commited on
Commit
93f3ed2
·
verified ·
1 Parent(s): d9ab77a

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,url
27
 
28
- demo = gr.Interface(rountrip, gr.Image(type= 'filepath'),[gr.Image(type= 'filepath'),"textbox",gr.Image(label="pollination")])
29
  demo.launch()
 
23
  prompt=interrogate(img)
24
  print(prompt)
25
  url=pollinations_url_seedless(prompt)
26
+ return prompt,url
27
 
28
+ demo = gr.Interface(rountrip, gr.Image(type= 'filepath'),["textbox",gr.Image(label="pollination")])
29
  demo.launch()