Bug fix attempt
Browse files
app.py
CHANGED
@@ -4,6 +4,7 @@ import gradio as gr
|
|
4 |
import torch
|
5 |
from transformers import DonutProcessor, VisionEncoderDecoderModel
|
6 |
|
|
|
7 |
processor = DonutProcessor.from_pretrained("Travad98/donut-finetuned-sogc-trademarks-1883-2001")
|
8 |
model = VisionEncoderDecoderModel.from_pretrained("Travad98/donut-finetuned-sogc-trademarks-1883-2001")
|
9 |
|
|
|
4 |
import torch
|
5 |
from transformers import DonutProcessor, VisionEncoderDecoderModel
|
6 |
|
7 |
+
# updated
|
8 |
processor = DonutProcessor.from_pretrained("Travad98/donut-finetuned-sogc-trademarks-1883-2001")
|
9 |
model = VisionEncoderDecoderModel.from_pretrained("Travad98/donut-finetuned-sogc-trademarks-1883-2001")
|
10 |
|