remove emojis from console
This commit is contained in:
@@ -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>';
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user