Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -40,59 +40,25 @@ css_str = """
|
|
40 |
body {
|
41 |
background-color: #121212;
|
42 |
color: #e0e0e0;
|
43 |
-
font-family: Arial, sans-serif;
|
44 |
}
|
45 |
|
46 |
.container {
|
47 |
-
max-width:
|
48 |
-
margin:
|
49 |
-
padding: 20px;
|
50 |
}
|
51 |
|
52 |
h1 {
|
53 |
font-size: 36px;
|
54 |
font-weight: bold;
|
55 |
text-align: center;
|
56 |
-
margin-bottom: 10px;
|
57 |
color: #ffffff;
|
58 |
}
|
59 |
|
60 |
.description {
|
61 |
font-size: 18px;
|
62 |
text-align: center;
|
63 |
-
margin-bottom: 30px;
|
64 |
color: #b0b0b0;
|
65 |
}
|
66 |
-
|
67 |
-
.gr-textbox textarea {
|
68 |
-
width: 100% !important;
|
69 |
-
padding: 10px;
|
70 |
-
font-size: 16px;
|
71 |
-
border-radius: 5px;
|
72 |
-
border: 1px solid #333333;
|
73 |
-
background-color: #2e2e2e;
|
74 |
-
color: #e0e0e0;
|
75 |
-
}
|
76 |
-
|
77 |
-
.gr-button {
|
78 |
-
background-color: #2979ff;
|
79 |
-
color: #ffffff;
|
80 |
-
padding: 12px 24px;
|
81 |
-
font-size: 16px;
|
82 |
-
border: none;
|
83 |
-
border-radius: 5px;
|
84 |
-
cursor: pointer;
|
85 |
-
width: 100%;
|
86 |
-
transition: background-color 0.2s ease;
|
87 |
-
}
|
88 |
-
.gr-button:hover {
|
89 |
-
background-color: #1c54b2;
|
90 |
-
}
|
91 |
-
|
92 |
-
.gr-textbox textarea[readonly] {
|
93 |
-
background-color: #2e2e2e;
|
94 |
-
color: #e0e0e0;
|
95 |
-
}
|
96 |
"""
|
97 |
|
98 |
with gr.Blocks(css=css_str) as demo:
|
|
|
40 |
body {
|
41 |
background-color: #121212;
|
42 |
color: #e0e0e0;
|
|
|
43 |
}
|
44 |
|
45 |
.container {
|
46 |
+
max-width: 750px;
|
47 |
+
margin: 10px auto;
|
|
|
48 |
}
|
49 |
|
50 |
h1 {
|
51 |
font-size: 36px;
|
52 |
font-weight: bold;
|
53 |
text-align: center;
|
|
|
54 |
color: #ffffff;
|
55 |
}
|
56 |
|
57 |
.description {
|
58 |
font-size: 18px;
|
59 |
text-align: center;
|
|
|
60 |
color: #b0b0b0;
|
61 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
"""
|
63 |
|
64 |
with gr.Blocks(css=css_str) as demo:
|