Spaces:
Running
Running
Commit History
-
Update default OCR model to "microsoft/Florence-2-large" for enhanced performance in OCRProcessor class. Running
f95a43e
-
changed to base model
5d9ecaa -
π§ Update OCR model in handlers.py and clean up README.mdβ
β Changes: - Updated OCR model from "microsoft/Florence-2-base" to "microsoft/Florence-2-large" for improved performance. - Removed outdated architecture and deployment sections from README.md for clarity and conciseness. π This enhances the application's capabilities and streamlines documentation.760f6ef -
π§ Fix Gradio API name conflicts and upgrade versionβ
β Fixes: - Add unique api_name to avoid duplicate function warnings - Upgrade Gradio from 4.0.0 to 4.44.0+ for latest features - Separate API endpoints for upload vs click events π Deployment: - Eliminates warning: 'api_name extract_text_from_image already exists' - Uses latest Gradio version with bug fixes and improvements - Maintains both auto-upload and manual extract functionality67e2508 -
ποΈ Comment out example usage instructions in interface.py for a cleaner interface and improved code organization.
796f321 -
ποΈ Remove deployment_status.md and comment out usage instructions in interface.py for cleaner code and preparation for HuggingFace deployment
a9284cc -
β Virtual environment completely removed - ready for HF deployment
5b11d53 -
π§ Fix HuggingFace Spaces deployment issuesβ
- Remove textlens_env/ virtual environment from repository - Add textlens_env/ to .gitignore to prevent future commits - Update port configurations for HF Spaces compatibility - This fixes the 'files larger than 10 MiB' deployment error6789f6f -
π Add GitHub Actions workflow for HuggingFace Spaces deploymentβ
- Automatically sync repository to HF Spaces on every push - Auto-detects HuggingFace username from token - Configurable Space name via environment variable - Includes manual workflow dispatch option - Robust error handling and logging8a23417 -
π Optimize for HuggingFace Spaces deploymentβ
- Update requirements.txt with HF-specific optimizations - Add HF Spaces environment detection in app.py - Update README.md with correct GitHub URL and architecture - Configure proper ports for HF Spaces (7860) vs local (7861) - Add huggingface_hub dependency for better compatibilityb38b9a9 -
first commit
1691ca8