Spaces:
Runtime error
Runtime error
Commit
β’
8cd10aa
1
Parent(s):
700e1a0
Updated to new model trained on all data & fields
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import gradio as gr
|
|
4 |
import torch
|
5 |
from transformers import DonutProcessor, VisionEncoderDecoderModel
|
6 |
|
7 |
-
model_name = "harish3110/donut-quandri-all"
|
8 |
|
9 |
processor = DonutProcessor.from_pretrained(model_name)
|
10 |
model = VisionEncoderDecoderModel.from_pretrained(model_name)
|
|
|
4 |
import torch
|
5 |
from transformers import DonutProcessor, VisionEncoderDecoderModel
|
6 |
|
7 |
+
model_name = "harish3110/donut-quandri-all-data"
|
8 |
|
9 |
processor = DonutProcessor.from_pretrained(model_name)
|
10 |
model = VisionEncoderDecoderModel.from_pretrained(model_name)
|