Spaces:
Runtime error
Runtime error
Ammar-alhaj-ali
commited on
Commit
•
eec6136
1
Parent(s):
311c405
Update app.py
Browse files
app.py
CHANGED
@@ -1,13 +1,7 @@
|
|
1 |
import os
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
## install PyTesseract
|
9 |
-
os.system('pip install -q pytesseract')
|
10 |
-
|
11 |
import gradio as gr
|
12 |
import numpy as np
|
13 |
from transformers import LayoutLMv3ForTokenClassification
|
|
|
1 |
import os
|
2 |
+
import gradio as gr
|
3 |
+
import torch
|
4 |
+
import PIL
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
import gradio as gr
|
6 |
import numpy as np
|
7 |
from transformers import LayoutLMv3ForTokenClassification
|