Spaces:
Running
Running
luet
commited on
Commit
·
ee4435a
1
Parent(s):
87cf40b
dark mdoe
Browse files- .gitignore +1 -0
- app.py +17 -1
.gitignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
venv
|
app.py
CHANGED
|
@@ -91,7 +91,8 @@ def edit_model(index, name, description, dateOfRelease, developer, use_case, imp
|
|
| 91 |
with gr.Blocks(css="""
|
| 92 |
body {
|
| 93 |
font-family: 'Arial', sans-serif;
|
| 94 |
-
background-color: #
|
|
|
|
| 95 |
margin: 0;
|
| 96 |
padding: 0;
|
| 97 |
}
|
|
@@ -100,6 +101,21 @@ with gr.Blocks(css="""
|
|
| 100 |
margin: auto;
|
| 101 |
padding: 20px;
|
| 102 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 103 |
""") as app:
|
| 104 |
gr.Markdown("# AI Timeline\n\nVisualize the development of AI models through an interactive timeline.")
|
| 105 |
|
|
|
|
| 91 |
with gr.Blocks(css="""
|
| 92 |
body {
|
| 93 |
font-family: 'Arial', sans-serif;
|
| 94 |
+
background-color: #121212; /* Dark background color */
|
| 95 |
+
color: white; /* White text color for better contrast */
|
| 96 |
margin: 0;
|
| 97 |
padding: 0;
|
| 98 |
}
|
|
|
|
| 101 |
margin: auto;
|
| 102 |
padding: 20px;
|
| 103 |
}
|
| 104 |
+
.gradio-markdown {
|
| 105 |
+
color: white; /* Ensure markdown text is white */
|
| 106 |
+
}
|
| 107 |
+
.gr-button {
|
| 108 |
+
background-color: #333; /* Dark button background */
|
| 109 |
+
color: white; /* White button text */
|
| 110 |
+
}
|
| 111 |
+
.gr-button:hover {
|
| 112 |
+
background-color: #555; /* Lighter shade on hover */
|
| 113 |
+
}
|
| 114 |
+
.gr-dropdown, .gr-textbox {
|
| 115 |
+
background-color: #333; /* Dark input fields */
|
| 116 |
+
color: white; /* White text */
|
| 117 |
+
border: 1px solid #555; /* Lighter border */
|
| 118 |
+
}
|
| 119 |
""") as app:
|
| 120 |
gr.Markdown("# AI Timeline\n\nVisualize the development of AI models through an interactive timeline.")
|
| 121 |
|