diff --git a/fastchat/utils.py b/fastchat/utils.py index 1bf4a0601..7c0614e3e 100644 --- a/fastchat/utils.py +++ b/fastchat/utils.py @@ -193,9 +193,6 @@ def pretty_print_semaphore(semaphore): """A javascript function to get url parameters for the gradio web server.""" get_window_url_params_js = """ function() { - document.body.classList.toggle('dark'); - document.body.classList.toggle('light'); - document.querySelector('gradio-app').style.backgroundColor = 'var(--color-background-primary)'; const params = new URLSearchParams(window.location.search); url_params = Object.fromEntries(params); console.log("url_params", url_params);