Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ def pollinations_url_seedless(a, width=512, height=512):
|
|
18 |
def interrogate(img):
|
19 |
|
20 |
result = client.image_to_text(img)
|
21 |
-
return result
|
22 |
def rountrip(img):
|
23 |
prompt=interrogate(img)
|
24 |
print(prompt)
|
|
|
18 |
def interrogate(img):
|
19 |
|
20 |
result = client.image_to_text(img)
|
21 |
+
return result['generated_text']
|
22 |
def rountrip(img):
|
23 |
prompt=interrogate(img)
|
24 |
print(prompt)
|