Add input class
| @@ -108,7 +108,7 @@ class ChatterboxTtsProvider { | |||
| 108 | // Seed | 108 | // Seed |
| 109 | html += `<div class="chatterbox-setting-row"> | 109 | html += `<div class="chatterbox-setting-row"> |
| 110 | <label for="chatterbox-seed">Seed (-1 for random):</label> | 110 | <label for="chatterbox-seed">Seed (-1 for random):</label> |
| 111 | <input id="chatterbox-seed" type="number" min="-1" value="${this.settings.seed}" /> | 111 | <input id="chatterbox-seed" class="text_pole" type="number" min="-1" value="${this.settings.seed}" /> |
| 112 | </div>`; | 112 | </div>`; |
| 113 | 113 | ||
| 114 | // Text chunking | 114 | // Text chunking |
| @@ -122,7 +122,7 @@ class ChatterboxTtsProvider { | |||
| 122 | // Chunk size | 122 | // Chunk size |
| 123 | html += `<div class="chatterbox-setting-row" id="chunk-size-row" ${!this.settings.split_text ? 'style="display: none;"' : ''}> | 123 | html += `<div class="chatterbox-setting-row" id="chunk-size-row" ${!this.settings.split_text ? 'style="display: none;"' : ''}> |
| 124 | <label for="chatterbox-chunk-size">Chunk Size:</label> | 124 | <label for="chatterbox-chunk-size">Chunk Size:</label> |
| 125 | <input id="chatterbox-chunk-size" type="number" min="50" max="500" value="${this.settings.chunk_size}" /> | 125 | <input id="chatterbox-chunk-size" class="text_pole" type="number" min="50" max="500" value="${this.settings.chunk_size}" /> |
| 126 | </div>`; | 126 | </div>`; |
| 127 | 127 | ||
| 128 | // Output format | 128 | // Output format |
| @@ -138,7 +138,7 @@ class ChatterboxTtsProvider { | |||
| 138 | 138 | ||
| 139 | // Footer with links | 139 | // Footer with links |
| 140 | html += `<div class="chatterbox-footer"> | 140 | html += `<div class="chatterbox-footer"> |
| 141 | <a href="${this.settings.provider_endpoint}" target="_blank">Chatterbox Web UI</a> | | 141 | <a href="${this.settings.provider_endpoint}" target="_blank">Chatterbox Web UI</a> | |
| 142 | <a href="https://github.com/devnen/Chatterbox-TTS-Server" target="_blank">Documentation</a> | 142 | <a href="https://github.com/devnen/Chatterbox-TTS-Server" target="_blank">Documentation</a> |
| 143 | </div>`; | 143 | </div>`; |
| 144 | 144 | ||