cutiee82 commited on
Commit
fd414f2
·
verified ·
1 Parent(s): 655ad30

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ def caption(image):
32
  }
33
  ],
34
  max_tokens=1024
35
- ).choices[0]
36
 
37
  gr.Interface(
38
  caption,
 
32
  }
33
  ],
34
  max_tokens=1024
35
+ ).choices[0].message.content
36
 
37
  gr.Interface(
38
  caption,