Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -51,7 +51,7 @@ if uploaded_file and st.button("Analyze"):
|
|
| 51 |
with st.spinner("Processing..."):
|
| 52 |
try:
|
| 53 |
images = convert_from_bytes(uploaded_file.read(), dpi=300)
|
| 54 |
-
client = genai.Client(api_key=os.getenv("
|
| 55 |
|
| 56 |
# Create tabs for pages
|
| 57 |
tabs = st.tabs([f"Page {i+1}" for i in range(len(images))])
|
|
|
|
| 51 |
with st.spinner("Processing..."):
|
| 52 |
try:
|
| 53 |
images = convert_from_bytes(uploaded_file.read(), dpi=300)
|
| 54 |
+
client = genai.Client(api_key=os.getenv("KEY"))
|
| 55 |
|
| 56 |
# Create tabs for pages
|
| 57 |
tabs = st.tabs([f"Page {i+1}" for i in range(len(images))])
|