Nechba commited on
Commit
82fd62e
·
verified ·
1 Parent(s): 4f8a713

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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):