Spaces:
Runtime error
Runtime error
ivelin
commited on
Commit
•
238e0cb
1
Parent(s):
2ea9225
fix: bugs
Browse filesSigned-off-by: ivelin <ivelin.eth@gmail.com>
app.py
CHANGED
@@ -3,6 +3,7 @@ import gradio as gr
|
|
3 |
from PIL import Image, ImageDraw
|
4 |
import math
|
5 |
import torch
|
|
|
6 |
from transformers import DonutProcessor, VisionEncoderDecoderModel
|
7 |
|
8 |
pretrained_repo_name = "ivelin/donut-refexp-draft"
|
|
|
3 |
from PIL import Image, ImageDraw
|
4 |
import math
|
5 |
import torch
|
6 |
+
import html
|
7 |
from transformers import DonutProcessor, VisionEncoderDecoderModel
|
8 |
|
9 |
pretrained_repo_name = "ivelin/donut-refexp-draft"
|