Spaces:
Runtime error
Runtime error
chats-bug
commited on
Commit
·
99813d9
1
Parent(s):
b8b6ade
generate captions function signature update
Browse files
app.py
CHANGED
|
@@ -132,7 +132,9 @@ def generate_captions_clip(
|
|
| 132 |
|
| 133 |
|
| 134 |
def generate_captions(
|
| 135 |
-
image
|
|
|
|
|
|
|
| 136 |
):
|
| 137 |
"""
|
| 138 |
Generate captions for the given image.
|
|
|
|
| 132 |
|
| 133 |
|
| 134 |
def generate_captions(
|
| 135 |
+
image,
|
| 136 |
+
max_length,
|
| 137 |
+
temperature
|
| 138 |
):
|
| 139 |
"""
|
| 140 |
Generate captions for the given image.
|