back to white
Browse files
app.py
CHANGED
@@ -52,11 +52,11 @@ import spaces
|
|
52 |
|
53 |
# breakpoint()
|
54 |
MARKDOWN = """
|
55 |
-
div align="center" style="padding: 20px 0;
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
|
61 |
<div style="display: flex; justify-content: center; align-items: center; gap: 15px; margin: 15px 0;">
|
62 |
<a href="https://cyberbrainai.com/">
|
@@ -152,25 +152,6 @@ MODALITY_PROMPTS = {
|
|
152 |
"Dermoscopy": ["lesion", "melanoma"],
|
153 |
"OCT": ["edema"] }
|
154 |
|
155 |
-
CUSTOM_CSS = """
|
156 |
-
gradio-container {
|
157 |
-
background-color: black !important;
|
158 |
-
|
159 |
-
gradio-container, .gradio-container input, .gradio-container textarea, .gradio-container label {
|
160 |
-
color: #ffffff !important;
|
161 |
-
|
162 |
-
gradio-container button {
|
163 |
-
background-color: #32CD32 !important;
|
164 |
-
color: white !important;
|
165 |
-
|
166 |
-
gradio-container .accordion {
|
167 |
-
background-color: #1a1a1a !important;
|
168 |
-
border: 1px solid #333 !important;
|
169 |
-
|
170 |
-
gradio-container .output-gallery {
|
171 |
-
background-color: #1a1a1a !important;
|
172 |
-
|
173 |
-
"""
|
174 |
|
175 |
def on_mode_dropdown_change(selected_mode):
|
176 |
if selected_mode in IMAGE_INFERENCE_MODES:
|
|
|
52 |
|
53 |
# breakpoint()
|
54 |
MARKDOWN = """
|
55 |
+
<div align="center" style="padding: 20px 0;">
|
56 |
+
<h1 style="font-size: 3em; margin: 0;">
|
57 |
+
ሀ<span style="color: #32CD32;">A</span>ኪ<span style="color: #FFD700;">i</span>ም
|
58 |
+
<sup style="font-size: 0.5em;">AI</sup>
|
59 |
+
</h1>
|
60 |
|
61 |
<div style="display: flex; justify-content: center; align-items: center; gap: 15px; margin: 15px 0;">
|
62 |
<a href="https://cyberbrainai.com/">
|
|
|
152 |
"Dermoscopy": ["lesion", "melanoma"],
|
153 |
"OCT": ["edema"] }
|
154 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
155 |
|
156 |
def on_mode_dropdown_change(selected_mode):
|
157 |
if selected_mode in IMAGE_INFERENCE_MODES:
|