Nathanwit commited on
Commit
7254bd4
β€’
1 Parent(s): 5b16dfd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import torch
2
  import re
3
  import gradio as gr
4
- from transformers import AutoTokenizer, ViTFeatureExtractor, VisionEncoderDecoderModel
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"