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
|
27 |
|
28 |
-
demo = gr.Interface(rountrip, gr.Image(type= 'filepath'),[
|
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()
|