mirror of
https://github.com/vladmandic/automatic
synced 2026-09-18 08:44:33 +02:00
relocate all jsons to data
Signed-off-by: vladmandic <mandic00@live.com>
This commit is contained in:
+1
-1
@@ -574,7 +574,7 @@ function toggleCompact(val, old) {
|
||||
|
||||
function previewTheme() {
|
||||
let name = gradioApp().getElementById('setting_gradio_theme').querySelectorAll('input')?.[0].value || '';
|
||||
fetch(`${window.subpath}/file=html/themes.json`)
|
||||
fetch(`${window.subpath}/file=data/themes.json`)
|
||||
.then((res) => {
|
||||
res.json()
|
||||
.then((themes) => {
|
||||
|
||||
Reference in New Issue
Block a user