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

Enhancements ~ Optimize images, Enhance Speech2Text Plugin, Support Custom CSS in Chainlit #284

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

yesbhautik
Copy link

@yesbhautik yesbhautik commented Apr 5, 2024

ImgBotApp and others added 5 commits February 9, 2024 00:02
*Total -- 1,000.91kb -> 898.02kb (10.28%)

/website/static/img/code_verification.png -- 40.55kb -> 24.63kb (39.25%)
/website/static/img/ui_screenshot_2.png -- 71.74kb -> 53.10kb (25.99%)
/website/static/img/ui_screenshot_1.png -- 92.79kb -> 72.51kb (21.86%)
/.asset/taskweaver_arch.png -- 58.56kb -> 52.27kb (10.75%)
/website/static/img/APS.png -- 52.29kb -> 46.72kb (10.64%)
/website/static/img/experience.png -- 181.21kb -> 162.28kb (10.45%)
/website/static/img/plugins.jpg -- 91.70kb -> 87.77kb (4.28%)
/playground/UI/public/logo_dark.png -- 64.10kb -> 61.74kb (3.67%)
/playground/UI/public/logo_light.png -- 64.10kb -> 61.74kb (3.67%)
/website/static/img/logo_light.png -- 64.10kb -> 61.74kb (3.67%)
/website/static/img/domains.jpg -- 100.72kb -> 97.28kb (3.41%)
/website/static/img/data.jpg -- 119.07kb -> 116.24kb (2.38%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
This PR introduces the ability to select different Whisper models for the Speech2Text plugin in TaskWeaver. Previously, the plugin was hardcoded to use the "base" model. With this enhancement, users can specify the model size (e.g., "tiny", "base", "small", "medium", "large") as an argument, allowing for more flexibility and optimization based on the user's requirements and available resources.
This PR adds support for specifying a custom CSS file in the Chainlit configuration for TaskWeaver. This feature allows developers to easily customize the appearance of the TaskWeaver UI without modifying the core CSS files. By specifying the path to a custom CSS file in the .chainlit/config.toml, developers can override the default styles to match their branding or user interface requirements.
@yesbhautik
Copy link
Author

yesbhautik commented Apr 5, 2024 via email

@liqul liqul requested a review from Jack-Q April 7, 2024 02:45
@liqul
Copy link
Contributor

liqul commented Apr 7, 2024

@Jack-Q Please take a look at this PR.

ImgBotApp and others added 3 commits April 7, 2024 22:59
*Total -- 1,000.91kb -> 898.02kb (10.28%)

/website/static/img/code_verification.png -- 40.55kb -> 24.63kb (39.25%)
/website/static/img/ui_screenshot_2.png -- 71.74kb -> 53.10kb (25.99%)
/website/static/img/ui_screenshot_1.png -- 92.79kb -> 72.51kb (21.86%)
/.asset/taskweaver_arch.png -- 58.56kb -> 52.27kb (10.75%)
/website/static/img/APS.png -- 52.29kb -> 46.72kb (10.64%)
/website/static/img/experience.png -- 181.21kb -> 162.28kb (10.45%)
/website/static/img/plugins.jpg -- 91.70kb -> 87.77kb (4.28%)
/playground/UI/public/logo_dark.png -- 64.10kb -> 61.74kb (3.67%)
/playground/UI/public/logo_light.png -- 64.10kb -> 61.74kb (3.67%)
/website/static/img/logo_light.png -- 64.10kb -> 61.74kb (3.67%)
/website/static/img/domains.jpg -- 100.72kb -> 97.28kb (3.41%)
/website/static/img/data.jpg -- 119.07kb -> 116.24kb (2.38%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
This PR introduces the ability to select different Whisper models for the Speech2Text plugin in TaskWeaver. Previously, the plugin was hardcoded to use the "base" model. With this enhancement, users can specify the model size (e.g., "tiny", "base", "small", "medium", "large") as an argument, allowing for more flexibility and optimization based on the user's requirements and available resources.
This PR adds support for specifying a custom CSS file in the Chainlit configuration for TaskWeaver. This feature allows developers to easily customize the appearance of the TaskWeaver UI without modifying the core CSS files. By specifying the path to a custom CSS file in the .chainlit/config.toml, developers can override the default styles to match their branding or user interface requirements.
@ShilinHe
Copy link
Collaborator

Thanks for the contribution, but why do we need to reduce the image size? wondering that this action will lead to the quality loss?

@yesbhautik
Copy link
Author

Thanks for the contribution, but why do we need to reduce the image size? wondering that this action will lead to the quality loss?

No Quality loss for sure. Also reduced image size can optimize application.

@yesbhautik
Copy link
Author

@Jack-Q Please take a look at this PR.

Why taking long time for small PR clearance?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants