Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -116,6 +116,8 @@ if uploaded_files and api_key:
|
|
116 |
# Convert PDF to images
|
117 |
|
118 |
df = analyze_pdf_images_with_gemini(uploaded_file.getvalue())
|
|
|
|
|
119 |
|
120 |
# Display results in expandable section
|
121 |
with st.expander("View Analysis Results", expanded=True):
|
|
|
116 |
# Convert PDF to images
|
117 |
|
118 |
df = analyze_pdf_images_with_gemini(uploaded_file.getvalue())
|
119 |
+
df1=extract_csv_from_response(response_text)
|
120 |
+
df = csv_to_dataframe(df1)
|
121 |
|
122 |
# Display results in expandable section
|
123 |
with st.expander("View Analysis Results", expanded=True):
|