jinhybr commited on
Commit
9b87379
1 Parent(s): d946f0f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,8 +4,8 @@ import torch
4
 
5
  from transformers import DonutProcessor, VisionEncoderDecoderModel
6
 
7
- processor = DonutProcessor.from_pretrained("jinhybr/donut-base-sroie")
8
- model = VisionEncoderDecoderModel.from_pretrained("jinhybr/donut-base-sroie")
9
 
10
  device = "cuda" if torch.cuda.is_available() else "cpu"
11
  model.to(device)
 
4
 
5
  from transformers import DonutProcessor, VisionEncoderDecoderModel
6
 
7
+ processor = DonutProcessor.from_pretrained("naver-clova-ix/donut-base-finetuned-cord-v2")
8
+ model = VisionEncoderDecoderModel.from_pretrained("naver-clova-ix/donut-base-finetuned-cord-v2")
9
 
10
  device = "cuda" if torch.cuda.is_available() else "cpu"
11
  model.to(device)