Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -115,7 +115,7 @@ if uploaded_files and api_key:
|
|
115 |
# Analyze PDF directly
|
116 |
# Convert PDF to images
|
117 |
|
118 |
-
|
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 |
|