Update my_model/captioner/image_captioning.py
Browse files
my_model/captioner/image_captioning.py
CHANGED
@@ -77,7 +77,6 @@ def get_caption(img):
|
|
77 |
captioner.load_model()
|
78 |
caption = captioner.generate_caption(img)
|
79 |
|
80 |
-
free_gpu_resources()
|
81 |
|
82 |
return caption
|
83 |
|
|
|
77 |
captioner.load_model()
|
78 |
caption = captioner.generate_caption(img)
|
79 |
|
|
|
80 |
|
81 |
return caption
|
82 |
|