Spaces:
Sleeping
Sleeping
Commit History
2 days ago
-
Update dependencies and fix runtime bugs found in audit
Dependencies - Pin Streamlit 1.67.0 and Python 3.12 via README sdk_version/python_version - Update all packages to current releases (pandas 3.1, numpy 2.5, plotly 7.1, PyMuPDF 2.1, Pillow 13, OpenCV 5, reportlab 5.1, google-genai 3.1, firebase-admin 7.7, Document AI 3.17) - Remove unused packages: langchain, langchain-core, langchain-community, langchain-google-genai, langsmith, google-generativeai (deprecated), fpdf2, imageio, python-docx, python-dotenv, pyyaml - Add beautifulsoup4 (used for HTML table parsing) and packages.txt with tesseract-ocr so the Tesseract OCR fallback works on Spaces Streamlit API - Replace deprecated use_container_width=True with width="stretch" (136 calls) - Replace deprecated st.components.v1.html with st.iframe via embed_html helper Bug fixes - CropDrive parent-window listener script had a JS syntax error (doubled braces in a non f-string), so language/config messages were never handled - OCR: missing `io` import broke PDF-to-image conversion…3f62288
-
Add Malay/Indonesian translation coverage and switch to Gemini 3.1
Mark Cuizonf746550
-
Fix Malaysian language translations for Step 6 PDF titles and chart labels
c4a4c9c
-
Update results, pdf_utils, and translations
329ee7f -
Fix translation for Step 6 yield forecast headers and chart titles in results page and PDF utils
412d66d -
Fix Step 6 translation issues - Translate all graph elements, axis labels, year labels, investment scenarios, and footnotes to Malaysian language
fb7fb3f -
Pdf utils translated to malaysian
1c33eb3 -
Update app.py, results.py, pdf_utils.py, and translations.py
2f19080 -
Add Malaysian language translations for PDF reports and step results - Translate all English texts in PDF (headers, sections, step descriptions, table headers) - Add translate_content_labels function to replace English labels in step results - Remove blank Solution Recommendations section in Step 3 - Enhance table header translations for comprehensive coverage
953de63 -
Add Malaysian language translations for step results and PDF reports
- Added translate_content_labels() function to replace English labels (Analysis::, Summary::, Detailed Analysis::, Formatted Analysis::) in step results content - Applied translations to all step display functions (steps 1-6) - Translated all hardcoded English strings in PDF generation: - Header sections (Analysis Results, Analysis Date, Report Types) - Step titles and descriptions - Section headers (Summary, Detailed Analysis, Data Tables, Key Findings) - Economic Impact Forecast labels - Yield Forecast labels - Added automatic table header translation in PDF table creation - Removed blank Solution Recommendations section from Step 3 PDF - Added missing translation keys for PDF sections6d52594
-
Fix multiple issues: time estimates, table display, and PDF translations
- Change '2-5 minutes' to '5-8 minutes' in all texts (translations.py and results.py) - Fix markdown table rendering to handle Malaysian table captions (Jadual) in addition to English (Table) - Add Malaysian translations for PDF conclusion sections (Analysis Overview, Key Findings, Economic Impact, etc.) - Fix PDF interpretations section to filter out empty arrays and None values - Ensure all conclusion text in PDF utils uses translation system instead of hardcoded Englishc166ab1 -
Fix executive summary language translation and remove Data Visualizations section before detailed conclusion
9bca8e4 -
Translate executive summary sections and all table headers in PDF utils to Malaysian
7b287d4 -
Update PDF utils and translations
39aec55
-
Fix Malaysian language translation in PDF files - Translate executive summary, data tables, headers, titles, and all analysis results to Malaysian language
af23ecf
-
Replace all remaining AGS AI references with CropDrive™ AI Assistant
- Updated module package comment - Updated dashboard welcome notification - Updated machine ID file path - Updated parameter standardizer comment - Updated auth utils app name defaults - Updated admin user email and company name - Updated PDF utils fallback text888355f -
Complete Malaysian translation support for all results and PDF content
- Added comprehensive translations for executive summary, nutrient status tables, economic forecast - Updated step titles and descriptions with Malaysian translations - Added table column headers translations (Parameter, Average, Status, etc.) - Updated PDF generation to use translated headers and status labels - Added economic forecast labels translation (Land Size, Current Yield, etc.) - Updated investment scenarios with Malaysian translations - Added status labels translation (Deficient, Optimal, Excessive)bb193ea
-
Add Malaysian language PDF download and language-aware PDF generation - Add separate English and Malaysian PDF download buttons - Update PDF generation to support language parameter - Add translation support to PDFReportGenerator - Add PDF translation keys for English and Malaysian - Ensure all pages respect language setting
9e0cc5b
-
clean repo
fb5dc87