try removing custom css
Browse files
app.py
CHANGED
@@ -170,33 +170,34 @@ def main(input_file_path, species, default_dataset):
|
|
170 |
|
171 |
if __name__ == "__main__":
|
172 |
|
173 |
-
css = """
|
174 |
-
body {background-color: white; color: black;}
|
175 |
-
.gradio-container {background-color: white; color: black;}
|
176 |
-
.gr-file, .gr-image {background-color: #f0f0f0; color: black; border-color: black;}
|
177 |
-
|
178 |
-
/* Custom styles for the run button */
|
179 |
-
.run-button {
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
}
|
189 |
-
|
190 |
-
.run-button:hover {
|
191 |
-
|
192 |
-
}
|
193 |
-
|
194 |
-
/* Ensure text in ordered lists is black in both light and dark modes */
|
195 |
-
ol, li {
|
196 |
-
color: black !important;
|
197 |
-
}
|
198 |
-
"""
|
199 |
-
|
|
|
200 |
with gr.Blocks(css=css) as demo:
|
201 |
gr.Markdown(
|
202 |
'''
|
|
|
170 |
|
171 |
if __name__ == "__main__":
|
172 |
|
173 |
+
# css = """
|
174 |
+
# body {background-color: white; color: black;}
|
175 |
+
# .gradio-container {background-color: white; color: black;}
|
176 |
+
# .gr-file, .gr-image {background-color: #f0f0f0; color: black; border-color: black;}
|
177 |
+
|
178 |
+
# /* Custom styles for the run button */
|
179 |
+
# .run-button {
|
180 |
+
# background-color: #ffb714; /* Button color */
|
181 |
+
# color: black; /* White text color */
|
182 |
+
# border: none; /* Remove border */
|
183 |
+
# padding: 10px 20px; /* Add some padding */
|
184 |
+
# font-size: 16px; /* Increase font size */
|
185 |
+
# cursor: pointer; /* Change cursor to pointer */
|
186 |
+
# border-radius: 5px; /* Add rounded corners */
|
187 |
+
# transition: background-color 0.3s ease; /* Smooth transition */
|
188 |
+
# }
|
189 |
+
|
190 |
+
# .run-button:hover {
|
191 |
+
# background-color: #e6a600; /* Darker shade on hover */
|
192 |
+
# }
|
193 |
+
|
194 |
+
# /* Ensure text in ordered lists is black in both light and dark modes */
|
195 |
+
# ol, li {
|
196 |
+
# color: black !important;
|
197 |
+
# }
|
198 |
+
# """
|
199 |
+
|
200 |
+
# with gr.Blocks(css=css) as demo:
|
201 |
with gr.Blocks(css=css) as demo:
|
202 |
gr.Markdown(
|
203 |
'''
|