Update app.py
Browse files
app.py
CHANGED
@@ -30,6 +30,45 @@ def send_data(password, text):
|
|
30 |
|
31 |
css = """
|
32 |
footer {visibility: hidden !important;}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
"""
|
34 |
|
35 |
with gr.Blocks(css=css) as demo:
|
|
|
30 |
|
31 |
css = """
|
32 |
footer {visibility: hidden !important;}
|
33 |
+
.dark {
|
34 |
+
--container-radius: 18px !important;
|
35 |
+
--block-border-width: 0px !important;
|
36 |
+
--block-radius: 18px !important;
|
37 |
+
--border-color-primary: #2c0039 !important;
|
38 |
+
--block-background-fill: #202020 !important;
|
39 |
+
--body-background-fill: #000000 !important;
|
40 |
+
--input-background-fill: #151515 !important;
|
41 |
+
--input-radius: 14px !important;
|
42 |
+
--checkbox-label-border-width: 0px !important;
|
43 |
+
--block-label-border-width: 0px !important;
|
44 |
+
--input-border-width: 0px !important;
|
45 |
+
}
|
46 |
+
.primary {
|
47 |
+
color: #FFF !important;
|
48 |
+
font-size: 16px !important;
|
49 |
+
padding: 10px 20px !important;
|
50 |
+
border: 3px solid rgb(234 181 238) !important;
|
51 |
+
border-radius: 15px !important;
|
52 |
+
text-decoration: none !important;
|
53 |
+
transition: 0.5s ease-in-out !important;
|
54 |
+
font-weight: normal !important;
|
55 |
+
background: none !important;
|
56 |
+
}
|
57 |
+
.primary:hover {
|
58 |
+
background: rgb(234 181 238) !important;
|
59 |
+
color: #000 !important;
|
60 |
+
}
|
61 |
+
div.svelte-19hvt5v {
|
62 |
+
border: 0px solid #510067 !important;
|
63 |
+
background: #101010;
|
64 |
+
}
|
65 |
+
.selected.svelte-1uw5tnk {
|
66 |
+
border-color: #510067 !important;
|
67 |
+
border-width: 0px !important;
|
68 |
+
}
|
69 |
+
.tab-nav.svelte-1uw5tnk {
|
70 |
+
border-bottom: 0px solid #510067 !important;
|
71 |
+
}
|
72 |
"""
|
73 |
|
74 |
with gr.Blocks(css=css) as demo:
|