Spaces:
Running
Running
Commit
·
6d67df2
1
Parent(s):
0bdaa79
Refresh
Browse files
app.py
CHANGED
@@ -161,7 +161,6 @@ def generate_scatter_plot(benchmark, metric):
|
|
161 |
js_func = """
|
162 |
function refresh() {
|
163 |
const url = new URL(window.location);
|
164 |
-
|
165 |
if (url.searchParams.get('__theme') !== 'light') {
|
166 |
url.searchParams.set('__theme', 'light');
|
167 |
window.location.href = url.href;
|
|
|
161 |
js_func = """
|
162 |
function refresh() {
|
163 |
const url = new URL(window.location);
|
|
|
164 |
if (url.searchParams.get('__theme') !== 'light') {
|
165 |
url.searchParams.set('__theme', 'light');
|
166 |
window.location.href = url.href;
|