Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.0.0 | Replace Swin2SR w/ Real-ESRGAN #77

Merged
merged 9 commits into from
Mar 30, 2024
Merged

Conversation

Daethyra
Copy link
Owner

No description provided.

…r FreeStream project

added:
- realesrgan as dependency

updated files:
- poetry.lock
- pyproject.toml
- .gitignore
Integrate Real-ESRGAN model for image upscaling, replacing the previous Image Upscaler. This commit also includes changes to the UI, allowing users to select different upscaling factors and providing improved error handling. The new model offers better performance and quality in image upscaling.
Refactored the image upscaling functionality to improve modularity and maintainability. Moved the image upscaling logic from `image_upscaler.py` to `utility_funcs.py`, consolidating the code and ensuring consistent access to Real-ESRGAN's model weights. Additionally, updated the upscaling process to provide better user feedback through Streamlit components.
Refactored Real-ESRGAN.py and utility_funcs.py by cleaning up comments, adding type hints, removing redundant code, and improving error handling.
@Daethyra Daethyra added enhancement New feature or request fundamental change Breaks backwards compatibility labels Mar 30, 2024
@Daethyra Daethyra added this to the (Page) Upscale Images milestone Mar 30, 2024
Updated the Real-ESRGAN page to reflect limitations due to lack of GPU support on Streamlit Community Cloud. Added a notice about potential crashes when upscaling large images or using high scale factors.
@Daethyra Daethyra marked this pull request as ready for review March 30, 2024 19:09
@Daethyra Daethyra self-assigned this Mar 30, 2024
@Daethyra Daethyra enabled auto-merge March 30, 2024 19:10
@Daethyra Daethyra merged commit 38973f0 into streamlit Mar 30, 2024
2 checks passed
@Daethyra Daethyra deleted the 4.0.0-realesrgan branch March 30, 2024 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request fundamental change Breaks backwards compatibility
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant