File size: 534 Bytes
e7895bf fa0f9cc 9c06ac7 42503e8 ca7fcaf 9c06ac7 ca7fcaf 9c06ac7 ca7fcaf |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
import mim
mim.install(['mmcv'])
mim.install(['mmdet'])
mim.install(['mmocr'])
mim.install(['mmengine'])
import streamlit as st
from multipage import MultiPage
from app_pages import home, about, ocr_comparator
app = MultiPage()
st.set_page_config(
page_title='OCR Comparator', layout ="wide",
initial_sidebar_state="expanded",
)
# Add all your application here
app.add_page("Home", "house", home.app)
app.add_page("About", "info-circle", about.app)
app.add_page("App", "cast", ocr_comparator.app)
# The main app
app.run() |