Spaces:
Runtime error
Runtime error
Commit History
-
Integrate Gemini API for enhanced image processing in MarkItDown
- Updated `app.py` to reflect the use of Gemini for image processing in MarkItDown. - Modified `requirements.txt` to include `ffmpeg-python` for audio processing and removed OpenAI dependency. - Enhanced `setup.sh` to install Gemini dependencies and updated installation instructions. - Introduced `gemini_client_wrapper.py` to create a wrapper for Gemini API, mimicking OpenAI's interface for compatibility with MarkItDown. - Added tests in `test_gemini_wrapper.py` to validate Gemini integration and MarkItDown functionality. - Refactored `markitdown_parser.py` to utilize Gemini for image files while maintaining standard processing for other formats. - Updated parser names and descriptions for clarity across various parsers.033e4ba -
Refactor UI components for modular architecture and enhance functionality
- Introduced a modular UI structure with dedicated components for Document Converter, Chat Interface, and Query Ranker. - Updated README to reflect the new modular UI architecture and its components. - Implemented content formatting utilities for Markdown and LaTeX rendering. - Enhanced file validation and threading utilities for improved user experience. - Added comprehensive styles for a cohesive UI design across components. - Established a test suite for the new UI components to ensure functionality and reliability.6ea41ec