Changed get_all_cards() limit to None for card lookup
Browse files
app.py
CHANGED
|
@@ -47,7 +47,7 @@ tab1, tab2, tab3 = st.tabs(["Upload Pokemon Card", "Card Database", "OCR Card Vi
|
|
| 47 |
|
| 48 |
with tab1:
|
| 49 |
st.header("Card Optical Character Recognition (OCR)")
|
| 50 |
-
st.caption("
|
| 51 |
|
| 52 |
uploaded_file = render_upload_section(key="upload_tab1")
|
| 53 |
|
|
@@ -90,7 +90,7 @@ with tab2:
|
|
| 90 |
|
| 91 |
with st.spinner("Loading cards..."):
|
| 92 |
try:
|
| 93 |
-
cards = get_all_cards()
|
| 94 |
|
| 95 |
except Exception as e:
|
| 96 |
st.error(f"Could not load card database: {e}")
|
|
|
|
| 47 |
|
| 48 |
with tab1:
|
| 49 |
st.header("Card Optical Character Recognition (OCR)")
|
| 50 |
+
st.caption("Select a Pokémon card.")
|
| 51 |
|
| 52 |
uploaded_file = render_upload_section(key="upload_tab1")
|
| 53 |
|
|
|
|
| 90 |
|
| 91 |
with st.spinner("Loading cards..."):
|
| 92 |
try:
|
| 93 |
+
cards = get_all_cards(limit=None)
|
| 94 |
|
| 95 |
except Exception as e:
|
| 96 |
st.error(f"Could not load card database: {e}")
|