-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmain.py
27 lines (19 loc) · 772 Bytes
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import streamlit as st
from image_annotation import *
# Folders
image_dir = "./images"
ann_dir = "./annotations"
report_dir = "./reports"
app_list = ["Anotación de imágenes", "Corrección de anotaciones", "Corrección de máscaras"]
# We want the wide mode to be set by default
st.set_page_config(page_title=None, page_icon=None, layout="wide", initial_sidebar_state="auto", menu_items=None)
def main():
# NOT FULLY IMPLEMENTED YET
# st.sidebar.header("Seleccionar aplicación")
# with st.sidebar:
# st.session_state['Application'] = st.selectbox("Aplicación:", app_list)
# if st.session_state['Application'] == app_list[0]:
# image_ann(st.session_state)
image_ann(st.session_state)
if __name__ == "__main__":
main()