Spaces:
Sleeping
Sleeping
osanseviero
commited on
Commit
•
a044f10
1
Parent(s):
e4c722a
Update app.py
Browse files
app.py
CHANGED
@@ -1,11 +1,13 @@
|
|
1 |
import os
|
2 |
import streamlit as st
|
|
|
3 |
import matplotlib.pyplot as plt
|
4 |
|
5 |
from doctr.io import DocumentFile
|
6 |
from doctr.models import ocr_predictor
|
7 |
from doctr.utils.visualization import visualize_page
|
8 |
|
|
|
9 |
DET_ARCHS = ['db_resnet50', 'db_mobilenet_v3_large', 'linknet16']
|
10 |
RECO_ARCHS = ["crnn_vgg16_bn", "master", "sar_resnet31"]
|
11 |
|
|
|
1 |
import os
|
2 |
import streamlit as st
|
3 |
+
import tensorflow as tf
|
4 |
import matplotlib.pyplot as plt
|
5 |
|
6 |
from doctr.io import DocumentFile
|
7 |
from doctr.models import ocr_predictor
|
8 |
from doctr.utils.visualization import visualize_page
|
9 |
|
10 |
+
|
11 |
DET_ARCHS = ['db_resnet50', 'db_mobilenet_v3_large', 'linknet16']
|
12 |
RECO_ARCHS = ["crnn_vgg16_bn", "master", "sar_resnet31"]
|
13 |
|