Update app.py
Browse files
app.py
CHANGED
@@ -969,17 +969,53 @@ input:focus, textarea:focus {
|
|
969 |
#refresh-button:active {
|
970 |
transform: scale(0.95);
|
971 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
972 |
}
|
973 |
'''
|
974 |
|
975 |
with gr.Blocks(theme=custom_theme, css=css, delete_cache=(60, 3600)) as app:
|
976 |
loras_state = gr.State(loras)
|
977 |
selected_indices = gr.State([])
|
978 |
-
|
979 |
gr.Markdown(
|
980 |
-
|
981 |
-
|
982 |
-
|
|
|
|
|
983 |
# ์๋ก๊ณ ์นจ ๋ฒํผ ์ถ๊ฐ
|
984 |
with gr.Row():
|
985 |
refresh_button = gr.Button("๐ ๋ชจ๋ธ ์๋ก๊ณ ์นจ(๋๋ง์ ๋ง์ถค ํ์ต๋ Private ๋ชจ๋ธ ๋ถ๋ฌ์ค๊ธฐ)", variant="secondary")
|
|
|
969 |
#refresh-button:active {
|
970 |
transform: scale(0.95);
|
971 |
}
|
972 |
+
/* Markdown ํ
์คํธ ์คํ์ผ */
|
973 |
+
.markdown {
|
974 |
+
color: white !important;
|
975 |
+
}
|
976 |
+
|
977 |
+
/* ํ๋กฌํํธ ์
๋ ฅ ํ๋ ํ
์คํธ ์คํ์ผ */
|
978 |
+
textarea, input[type="text"] {
|
979 |
+
color: white !important;
|
980 |
+
}
|
981 |
+
|
982 |
+
/* ๋ผ๋ฒจ ํ
์คํธ ์คํ์ผ */
|
983 |
+
label, .label-text {
|
984 |
+
color: white !important;
|
985 |
+
}
|
986 |
+
|
987 |
+
/* Markdown ํค๋ ์คํ์ผ */
|
988 |
+
.markdown h1,
|
989 |
+
.markdown h2,
|
990 |
+
.markdown h3,
|
991 |
+
.markdown h4,
|
992 |
+
.markdown h5,
|
993 |
+
.markdown h6,
|
994 |
+
.markdown p {
|
995 |
+
color: white !important;
|
996 |
+
}
|
997 |
+
|
998 |
+
/* ์
๋ ฅ ํ๋ placeholder ์คํ์ผ */
|
999 |
+
::placeholder {
|
1000 |
+
color: rgba(255, 255, 255, 0.5) !important;
|
1001 |
+
}
|
1002 |
+
|
1003 |
+
/* ํ
์คํธ ์์ญ ์คํ์ผ */
|
1004 |
+
.gradio-container textarea {
|
1005 |
+
color: white !important;
|
1006 |
}
|
1007 |
'''
|
1008 |
|
1009 |
with gr.Blocks(theme=custom_theme, css=css, delete_cache=(60, 3600)) as app:
|
1010 |
loras_state = gr.State(loras)
|
1011 |
selected_indices = gr.State([])
|
1012 |
+
|
1013 |
gr.Markdown(
|
1014 |
+
"""# ๐จ GiniGen
|
1015 |
+
### ์ฌ์ฉ ์๋ด: ๊ฐค๋ฌ๋ฆฌ์์ ์ํ๋ ๋ชจ๋ธ์ ์ ํ(์ต๋ 3๊ฐ๊น์ง) < ํ๋กฌํํธ์ ํ๊ธ ๋๋ ์๋ฌธ์ผ๋ก ์ํ๋ ๋ด์ฉ์ ์
๋ ฅ < Generate ๋ฒํผ ์คํ""",
|
1016 |
+
elem_classes=["markdown"]
|
1017 |
+
)
|
1018 |
+
|
1019 |
# ์๋ก๊ณ ์นจ ๋ฒํผ ์ถ๊ฐ
|
1020 |
with gr.Row():
|
1021 |
refresh_button = gr.Button("๐ ๋ชจ๋ธ ์๋ก๊ณ ์นจ(๋๋ง์ ๋ง์ถค ํ์ต๋ Private ๋ชจ๋ธ ๋ถ๋ฌ์ค๊ธฐ)", variant="secondary")
|