remove emojis from console

This commit is contained in:
Dobromir Popov
2025-10-25 16:35:08 +03:00
parent 5aa4925cff
commit b8f54e61fa
75 changed files with 828 additions and 828 deletions

View File

@@ -113,7 +113,7 @@
if (data.loading) {
// Models still loading - show loading message and poll
modelSelect.innerHTML = '<option value="">🔄 Loading models...</option>';
modelSelect.innerHTML = '<option value=""> Loading models...</option>';
// Start polling if not already polling
if (!modelLoadingPollInterval) {
@@ -132,7 +132,7 @@
if (data.success && data.models.length > 0) {
// Show success notification
if (window.showSuccess) {
window.showSuccess(` ${data.models.length} models loaded and ready for training`);
window.showSuccess(` ${data.models.length} models loaded and ready for training`);
}
data.models.forEach(model => {
@@ -142,7 +142,7 @@
modelSelect.appendChild(option);
});
console.log(` Models loaded: ${data.models.join(', ')}`);
console.log(` Models loaded: ${data.models.join(', ')}`);
} else {
const option = document.createElement('option');
option.value = '';
@@ -157,12 +157,12 @@
// Don't stop polling on network errors - keep trying
if (!modelLoadingPollInterval) {
modelSelect.innerHTML = '<option value="">⚠️ Connection error, retrying...</option>';
modelSelect.innerHTML = '<option value=""> Connection error, retrying...</option>';
// Start polling to retry
modelLoadingPollInterval = setInterval(loadAvailableModels, 3000); // Poll every 3 seconds
} else {
// Already polling, just update the message
modelSelect.innerHTML = '<option value="">🔄 Retrying...</option>';
modelSelect.innerHTML = '<option value=""> Retrying...</option>';
}
});
}