-
Notifications
You must be signed in to change notification settings - Fork 5
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
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
added
enhancement
New feature or request
fundamental change
Breaks backwards compatibility
labels
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.
…enthesis in model file names
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.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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