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

feat(freestream): update page title and image upscaler #62

Closed
wants to merge 20 commits into from

Conversation

Daethyra
Copy link
Owner

Updated the page title from "FreeStream: Image Upscaler" to "FreeStream: Real-ESRGAN" and changed the title from "🖼️Image Upscaler" to "🖼️Real-ESRGAN". Added a new test script for downloading models and updated utility functions for model downloading.

Also bumped project version

Updated the page title from "FreeStream: Image Upscaler" to "FreeStream: Real-ESRGAN" and changed the title from "🖼️Image Upscaler" to "🖼️Real-ESRGAN". Added a new test script for downloading models and updated utility functions for model downloading.

Also bumped project version
@Daethyra Daethyra added enhancement New feature or request fundamental change Breaks backwards compatibility labels Mar 13, 2024
@Daethyra Daethyra added this to the (Page) Upscale Images milestone Mar 13, 2024
edited a new function to download models from specified URLs. Also included a dictionary of model options and their corresponding file URLs for easy reference. This change enhances the utility of the application by enabling users to easily download and use different models for processing.
Adjusted the document retriever search parameters in utility_funcs.py to use a lower value for "k" in the search_kwargs dictionary, changing it from 7 to 5. This modification aims to refine the retrieval process and improve performance.
Added the ability to download models and select a model for upscaling images. This change introduces a new feature allowing users to choose a model for image upscaling and download it if not already present. It also includes UI modifications to accommodate the model selection.
Fixed the formatting in RAGbot.py by removing unnecessary comments and ensuring proper spacing. This change improves code readability and consistency.
Reorganized import statements in "freestream/pages/2_\360\237\226\274\357\270\217_Image_Upscaler.py" and updated the model download path in "freestream/pages/utils/utility_funcs.py" to ensure consistency and proper organization within the project structure.
Renamed the file "Image_Upscaler.py" to "Real-ESRGAN.py" in the pages directory to better reflect its functionality and purpose. Removed unused imports related to image processing and transformers.

This change improves code readability and aligns the filename with the actual content of the file, making it easier for developers to understand its role within the project.
Updated the app version in the README to 4.0.0 and removed unsupported image formats from the list of allowed formats for upscaling in readme.
…eveDocuments constructor

The uploaded_files argument was removed from the constructor of the RetrieveDocuments class as it was no longer being used. This change simplifies the interface and improves code clarity.
This commit removes the unused clear_messages function from the 1_🗦_RAGbot.py file in the freestream module. This function was no longer being utilized and was therefore removed to declutter the codebase.
Updated the RAGbot model configurations for "Claude: Haiku" and "Claude: Opus" to use specific model versions, ensuring consistency and accuracy in generated content. Removed commented-out code related to "Claude: Haiku".
feat(pages): add functionality to download Real-ESRGAN models

- Added the ability to download Real-ESRGAN models directly from the UI. This feature allows users to select a model and initiate the download process by clicking a button. The downloaded models are stored in the "freestream/pages/utils/realesrgan/models" directory.
…tting

Removed unnecessary comments, adjusted code formatting, and cleaned up comments for better readability and maintainability.
Reorganized imports in various files within the pages module to improve readability and maintain consistency. Fixed module references in multiple files to ensure proper functionality and maintainability.
@Daethyra Daethyra closed this Mar 18, 2024
@Daethyra Daethyra deleted the 4.0.0 branch March 31, 2024 04:40
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