cedpsam commited on
Commit
47f7f63
·
verified ·
1 Parent(s): 08b3c57

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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)