Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -557,16 +557,12 @@ css = '''.gr-group{background-color: transparent;box-shadow: var(--block-shadow)
|
|
557 |
#login {font-size: 0px;width: 100% !important;margin: 0 auto}
|
558 |
#login:after {content: 'Authorize this app to train your model';visibility: visible;display: block;font-size: var(--button-large-text-size)}
|
559 |
'''
|
|
|
560 |
theme = gr.themes.Monochrome(
|
561 |
text_size=gr.themes.Size(lg="18px", md="15px", sm="13px", xl="22px", xs="12px", xxl="24px", xxs="9px"),
|
562 |
font=[gr.themes.GoogleFont('Source Sans Pro'), 'ui-sans-serif', 'system-ui', 'sans-serif'],
|
563 |
)
|
564 |
-
|
565 |
-
# if token is None:
|
566 |
-
# return gr.update(elem_classes=["main_unlogged"], elem_id="login")
|
567 |
-
# else:
|
568 |
-
# return gr.update(elem_classes=["main_logged"])
|
569 |
-
|
570 |
with gr.Blocks(css=css, theme=theme) as demo:
|
571 |
dataset_folder = gr.State()
|
572 |
gr.Markdown('''# LoRA Ease 🧞♂️
|
|
|
557 |
#login {font-size: 0px;width: 100% !important;margin: 0 auto}
|
558 |
#login:after {content: 'Authorize this app to train your model';visibility: visible;display: block;font-size: var(--button-large-text-size)}
|
559 |
'''
|
560 |
+
|
561 |
theme = gr.themes.Monochrome(
|
562 |
text_size=gr.themes.Size(lg="18px", md="15px", sm="13px", xl="22px", xs="12px", xxl="24px", xxs="9px"),
|
563 |
font=[gr.themes.GoogleFont('Source Sans Pro'), 'ui-sans-serif', 'system-ui', 'sans-serif'],
|
564 |
)
|
565 |
+
|
|
|
|
|
|
|
|
|
|
|
566 |
with gr.Blocks(css=css, theme=theme) as demo:
|
567 |
dataset_folder = gr.State()
|
568 |
gr.Markdown('''# LoRA Ease 🧞♂️
|