mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-04-20 22:13:43 +00:00
Remove obsolete stuff after custom gradio updates
This commit is contained in:
parent
da3010c3ed
commit
942ff8fcb4
2 changed files with 0 additions and 19 deletions
|
|
@ -351,18 +351,3 @@ function handleMorphdomUpdate(data) {
|
|||
}
|
||||
});
|
||||
}
|
||||
|
||||
//------------------------------------------------
|
||||
// Suppress "Attempted to select a non-interactive or hidden tab" warning
|
||||
//------------------------------------------------
|
||||
(function() {
|
||||
const originalWarn = console.warn;
|
||||
|
||||
console.warn = function(...args) {
|
||||
if (args[0] && typeof args[0] === "string" && args[0].includes("Attempted to select a non-interactive or hidden tab")) {
|
||||
return;
|
||||
}
|
||||
|
||||
originalWarn.apply(console, args);
|
||||
};
|
||||
})();
|
||||
|
|
|
|||
|
|
@ -28,10 +28,6 @@ warnings.filterwarnings('ignore', category=UserWarning, message='Field "model_na
|
|||
|
||||
import gradio as gr
|
||||
|
||||
import matplotlib
|
||||
|
||||
matplotlib.use('Agg') # This fixes LaTeX rendering on some systems
|
||||
|
||||
import os
|
||||
import signal
|
||||
import sys
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue