Spaces:
Paused
Paused
P01yH3dr0n
commited on
Commit
•
5c0afcc
1
Parent(s):
7dfeb58
default dark
Browse files
app.py
CHANGED
@@ -246,7 +246,7 @@ def send_jump_select(component, fn, inputs, outputs, tab, accordin, trigger, sec
|
|
246 |
def ui():
|
247 |
load_javascript()
|
248 |
set_token(os.environ.get('token'))
|
249 |
-
with gr.Blocks(title="NAI Client", analytics_enabled=False, theme=gr.themes.Soft(), js="() => {document.body.classList.toggle('dark',
|
250 |
with gr.Row():
|
251 |
remain_anlas = gr.Textbox(label="剩余点数", value=get_remain_anlas, scale=3)
|
252 |
refresh = gr.Button("🔄")
|
|
|
246 |
def ui():
|
247 |
load_javascript()
|
248 |
set_token(os.environ.get('token'))
|
249 |
+
with gr.Blocks(title="NAI Client", analytics_enabled=False, theme=gr.themes.Soft(), js="() => {document.body.classList.toggle('dark', true);}") as website:
|
250 |
with gr.Row():
|
251 |
remain_anlas = gr.Textbox(label="剩余点数", value=get_remain_anlas, scale=3)
|
252 |
refresh = gr.Button("🔄")
|