Update app.py
Browse files
app.py
CHANGED
|
@@ -29,7 +29,9 @@ def send_data(password, text):
|
|
| 29 |
raise gr.Error("Неверный пароль!")
|
| 30 |
|
| 31 |
css = """
|
| 32 |
-
footer {
|
|
|
|
|
|
|
| 33 |
|
| 34 |
.dark {
|
| 35 |
--container-radius: 18px !important;
|
|
@@ -83,10 +85,15 @@ div.svelte-19hvt5v {
|
|
| 83 |
font-weight: bold !important;
|
| 84 |
align-items: center !important;
|
| 85 |
justify-content: center !important;
|
|
|
|
| 86 |
}
|
| 87 |
.secondary:hover {
|
| 88 |
background-color: rgb(96 55 103);
|
| 89 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 90 |
"""
|
| 91 |
|
| 92 |
with gr.Blocks(css=css) as demo:
|
|
|
|
| 29 |
raise gr.Error("Неверный пароль!")
|
| 30 |
|
| 31 |
css = """
|
| 32 |
+
footer {
|
| 33 |
+
visibility: hidden !important;
|
| 34 |
+
}
|
| 35 |
|
| 36 |
.dark {
|
| 37 |
--container-radius: 18px !important;
|
|
|
|
| 85 |
font-weight: bold !important;
|
| 86 |
align-items: center !important;
|
| 87 |
justify-content: center !important;
|
| 88 |
+
background: none !important;
|
| 89 |
}
|
| 90 |
.secondary:hover {
|
| 91 |
background-color: rgb(96 55 103);
|
| 92 |
}
|
| 93 |
+
.svelte-zyxd38 {
|
| 94 |
+
display: none !important;
|
| 95 |
+
visibility: hidden !important
|
| 96 |
+
}
|
| 97 |
"""
|
| 98 |
|
| 99 |
with gr.Blocks(css=css) as demo:
|