Nechba commited on
Commit
94eeb49
·
verified ·
1 Parent(s): 61b4ccb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -115,7 +115,7 @@ if uploaded_files and api_key:
115
  # Analyze PDF directly
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
 
 
115
  # Analyze PDF directly
116
  # Convert PDF to images
117
 
118
+ response_text = analyze_pdf_images_with_gemini(uploaded_file.getvalue())
119
  df1=extract_csv_from_response(response_text)
120
  df = csv_to_dataframe(df1)
121