dcorcoran commited on
Commit
7885fdc
·
1 Parent(s): d514352

Changed tab titles

Browse files
Files changed (2) hide show
  1. app.py +4 -1
  2. components/upload_section.py +1 -1
app.py CHANGED
@@ -46,6 +46,9 @@ tab1, tab2, tab3 = st.tabs(["Upload Pokemon Card", "Card Database", "OCR Card Vi
46
 
47
 
48
  with tab1:
 
 
 
49
  uploaded_file = render_upload_section(key="upload_tab1")
50
 
51
  # Check if file was uploaded
@@ -83,7 +86,7 @@ with tab1:
83
 
84
  with tab2:
85
  st.header("Card Database")
86
- st.subheader("Showing a sample of available cards in the database.")
87
 
88
  with st.spinner("Loading cards..."):
89
  try:
 
46
 
47
 
48
  with tab1:
49
+ st.header("Card Optical Character Recognition (OCR)")
50
+ st.caption("Upload a Pokémon card image.")
51
+
52
  uploaded_file = render_upload_section(key="upload_tab1")
53
 
54
  # Check if file was uploaded
 
86
 
87
  with tab2:
88
  st.header("Card Database")
89
+ st.caption("Showing a sample of available cards in the database.")
90
 
91
  with st.spinner("Loading cards..."):
92
  try:
components/upload_section.py CHANGED
@@ -2,7 +2,7 @@ import streamlit as st
2
 
3
  def render_upload_section(key="file_uploader"):
4
  uploaded_file = st.file_uploader(
5
- "Upload a Pokémon card image",
6
  type=["png", "jpg", "jpeg"],
7
  help="Supported formats: PNG, JPG, JPEG",
8
  key=key,
 
2
 
3
  def render_upload_section(key="file_uploader"):
4
  uploaded_file = st.file_uploader(
5
+ "",
6
  type=["png", "jpg", "jpeg"],
7
  help="Supported formats: PNG, JPG, JPEG",
8
  key=key,