Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ def main():
|
|
| 7 |
st.set_page_config(page_title='Order ID Finder', layout='wide')
|
| 8 |
st.title('OCR + Font type demo')
|
| 9 |
|
| 10 |
-
tabs = st.tabs(["Intro", "find order"])
|
| 11 |
|
| 12 |
with tabs[0]:
|
| 13 |
col1, col2 = st.columns([1, 2])
|
|
@@ -55,8 +55,8 @@ def main():
|
|
| 55 |
st.warning(result['message'])
|
| 56 |
|
| 57 |
with tabs[2]:
|
| 58 |
-
st.write('## Preview
|
| 59 |
-
st.write('This is the
|
| 60 |
if input_file:
|
| 61 |
df = pd.read_csv(input_file, header=None, names=['Order ID', 'Name', 'Font'])
|
| 62 |
st.write(df)
|
|
|
|
| 7 |
st.set_page_config(page_title='Order ID Finder', layout='wide')
|
| 8 |
st.title('OCR + Font type demo')
|
| 9 |
|
| 10 |
+
tabs = st.tabs(["Intro", "find order", "View List"])
|
| 11 |
|
| 12 |
with tabs[0]:
|
| 13 |
col1, col2 = st.columns([1, 2])
|
|
|
|
| 55 |
st.warning(result['message'])
|
| 56 |
|
| 57 |
with tabs[2]:
|
| 58 |
+
st.write('## Preview of Records')
|
| 59 |
+
st.write('This is the list of orders')
|
| 60 |
if input_file:
|
| 61 |
df = pd.read_csv(input_file, header=None, names=['Order ID', 'Name', 'Font'])
|
| 62 |
st.write(df)
|