Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ def interrogate(img):
|
|
34 |
return result
|
35 |
def rountrip(img):
|
36 |
prompt=interrogate(img)
|
37 |
-
url=pollinations_url_seedless(
|
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')])
|
|
|
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')])
|