Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
infwinston committed Oct 20, 2023
1 parent f68d049 commit 45d9842
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions fastchat/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 45d9842

Please sign in to comment.