feat: add title to gradio Blocks for better browser tab identification#54
Open
ryan-steed-usa wants to merge 2 commits intopetermg:mainfrom
Open
feat: add title to gradio Blocks for better browser tab identification#54ryan-steed-usa wants to merge 2 commits intopetermg:mainfrom
ryan-steed-usa wants to merge 2 commits intopetermg:mainfrom
Conversation
ryan-steed-usa
commented
Oct 27, 2025
- Updated the gradio Blocks initialization in the main function to include a title parameter
- Added "Chatterbox TTS Extended" as the title for the Gradio application
- This change improves user experience by showing a meaningful title in browser tabs
- The title appears in the browser's tab bar and bookmarks, making it easier to identify the application
- No functional changes to the core application logic, only UI enhancement for better usability
- Updated the gradio Blocks initialization in the main function to include a title parameter - Added "Chatterbox TTS Extended" as the title for the Gradio application - This change improves user experience by showing a meaningful title in browser tabs - The title appears in the browser's tab bar and bookmarks, making it easier to identify the application - No functional changes to the core application logic, only UI enhancement for better usability
Author
|
Closes #55 |
Owner
|
Can you give me a screenshot of what this looks like? |
Author
- Extracted the application title "🎧 Chatterbox TTS Extended" into a dedicated variable `app_title` for improved code organization and maintainability - Updated the gr.Blocks title parameter to use the new variable - Modified the gr.Markdown heading to use f-string formatting with the app_title variable - This change promotes DRY (Don't Repeat Yourself) principles by centralizing the title definition - No functional changes, only refactoring for better code structure and future maintainability
Author
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.