Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -86,11 +86,4 @@ app = gr.Interface(
|
|
| 86 |
],
|
| 87 |
outputs="image"
|
| 88 |
)
|
| 89 |
-
function refresh() {
|
| 90 |
-
const url = new URL(window.location);
|
| 91 |
-
if (url.searchParams.get('__theme') !== 'dark') {
|
| 92 |
-
url.searchParams.set('__theme', 'dark');
|
| 93 |
-
window.location.href = url.href;
|
| 94 |
-
}
|
| 95 |
-
}
|
| 96 |
app.launch()
|
|
|
|
| 86 |
],
|
| 87 |
outputs="image"
|
| 88 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 89 |
app.launch()
|