Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,6 +26,8 @@ def generate_caption(processor, model, image, tokenizer=None):
|
|
| 26 |
def generate_captions(image):
|
| 27 |
caption_git_base = generate_caption(git_processor_base, git_model_base, image)
|
| 28 |
|
|
|
|
|
|
|
| 29 |
return caption_git_base
|
| 30 |
|
| 31 |
|
|
|
|
| 26 |
def generate_captions(image):
|
| 27 |
caption_git_base = generate_caption(git_processor_base, git_model_base, image)
|
| 28 |
|
| 29 |
+
print(caption_git_base)
|
| 30 |
+
|
| 31 |
return caption_git_base
|
| 32 |
|
| 33 |
|