Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import torch
|
2 |
import re
|
3 |
import gradio as gr
|
4 |
-
from transformers import AutoTokenizer, ViTFeatureExtractor,
|
5 |
|
6 |
device='cpu'
|
7 |
encoder_checkpoint = "Thibalte/captionning_project"
|
|
|
1 |
import torch
|
2 |
import re
|
3 |
import gradio as gr
|
4 |
+
from transformers import AutoTokenizer, ViTFeatureExtractor, AutoModel
|
5 |
|
6 |
device='cpu'
|
7 |
encoder_checkpoint = "Thibalte/captionning_project"
|