Update app.py
Browse files
app.py
CHANGED
@@ -113,41 +113,42 @@ css = """
|
|
113 |
overflow: auto;
|
114 |
border: 1px solid #ccc;
|
115 |
padding: 20px;
|
116 |
-
font-size:
|
117 |
border-radius: 8px;
|
118 |
}
|
119 |
button, select, input[type="button"], input[type="submit"] {
|
120 |
-
background-color: #
|
121 |
color: white;
|
122 |
-
border-radius:
|
123 |
padding: 10px 20px;
|
124 |
border: none;
|
125 |
font-size: 1em;
|
126 |
cursor: pointer;
|
127 |
-
box-shadow:
|
128 |
}
|
129 |
button:hover, select:hover, input[type="button"]:hover, input[type="submit"]:hover {
|
130 |
-
background-color: #
|
131 |
}
|
132 |
.gr-box {
|
133 |
border: 1px solid #e1e1e1;
|
134 |
-
border-radius:
|
135 |
-
box-shadow:
|
136 |
-
padding:
|
137 |
}
|
138 |
.gr-block {
|
139 |
-
margin-bottom:
|
140 |
}
|
141 |
.output-text {
|
142 |
-
font-size: 1.
|
143 |
color: #000000;
|
144 |
-
padding:
|
145 |
-
border-radius:
|
146 |
-
box-shadow:
|
147 |
border: 1px solid #e1e1e1;
|
148 |
}
|
149 |
"""
|
150 |
|
|
|
151 |
with gr.Blocks(css=css) as demo:
|
152 |
gr.Markdown("<h1>WordLift Product Description Generation - [FREE]</h1>")
|
153 |
with gr.Tab(label="WordLift Product Description Generation"):
|
|
|
113 |
overflow: auto;
|
114 |
border: 1px solid #ccc;
|
115 |
padding: 20px;
|
116 |
+
font-size: 1em; /* Reduced font size */
|
117 |
border-radius: 8px;
|
118 |
}
|
119 |
button, select, input[type="button"], input[type="submit"] {
|
120 |
+
background-color: #3452db; /* Correct WordLift blue */
|
121 |
color: white;
|
122 |
+
border-radius: 5px; /* Slightly smaller radius */
|
123 |
padding: 10px 20px;
|
124 |
border: none;
|
125 |
font-size: 1em;
|
126 |
cursor: pointer;
|
127 |
+
box-shadow: none; /* Removed heavy shadow */
|
128 |
}
|
129 |
button:hover, select:hover, input[type="button"]:hover, input[type="submit"]:hover {
|
130 |
+
background-color: #2c44ba; /* Slightly darker shade for hover */
|
131 |
}
|
132 |
.gr-box {
|
133 |
border: 1px solid #e1e1e1;
|
134 |
+
border-radius: 5px;
|
135 |
+
box-shadow: none; /* Removed heavy shadow */
|
136 |
+
padding: 15px; /* Reduced padding */
|
137 |
}
|
138 |
.gr-block {
|
139 |
+
margin-bottom: 15px; /* Reduced margin */
|
140 |
}
|
141 |
.output-text {
|
142 |
+
font-size: 1.1em; /* Reduced font size */
|
143 |
color: #000000;
|
144 |
+
padding: 10px; /* Reduced padding */
|
145 |
+
border-radius: 5px;
|
146 |
+
box-shadow: none; /* Removed heavy shadow */
|
147 |
border: 1px solid #e1e1e1;
|
148 |
}
|
149 |
"""
|
150 |
|
151 |
+
|
152 |
with gr.Blocks(css=css) as demo:
|
153 |
gr.Markdown("<h1>WordLift Product Description Generation - [FREE]</h1>")
|
154 |
with gr.Tab(label="WordLift Product Description Generation"):
|