Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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()
|