Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ import difflib
|
|
| 8 |
import ViTCoAtt
|
| 9 |
import cnnrnn
|
| 10 |
from build_vocab import Vocabulary
|
| 11 |
-
|
| 12 |
|
| 13 |
# Caption generation functions
|
| 14 |
def generate_caption_clipgpt(image, max_tokens, temperature):
|
|
|
|
| 8 |
import ViTCoAtt
|
| 9 |
import cnnrnn
|
| 10 |
from build_vocab import Vocabulary
|
| 11 |
+
import pickle
|
| 12 |
|
| 13 |
# Caption generation functions
|
| 14 |
def generate_caption_clipgpt(image, max_tokens, temperature):
|