Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,7 +19,7 @@ def generate_caption_vitgpt(image):
|
|
| 19 |
return caption
|
| 20 |
|
| 21 |
def generate_caption_vitCoAtt(image):
|
| 22 |
-
caption = tester.main(image)
|
| 23 |
return caption
|
| 24 |
|
| 25 |
|
|
|
|
| 19 |
return caption
|
| 20 |
|
| 21 |
def generate_caption_vitCoAtt(image):
|
| 22 |
+
caption = tester.CaptionSampler.main(image)
|
| 23 |
return caption
|
| 24 |
|
| 25 |
|