wendys-llc commited on
Commit
3326aa9
·
1 Parent(s): 6f419af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ def do_action(image):
8
 
9
  result = pipe(image)
10
 
11
- return result
12
 
13
  # input image, output text
14
  # can't use inputs="image"
 
8
 
9
  result = pipe(image)
10
 
11
+ return result[0]['generated_text']
12
 
13
  # input image, output text
14
  # can't use inputs="image"