Spaces:
Sleeping
Sleeping
ashishkgpian
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -76,13 +76,13 @@ custom_css = """
|
|
76 |
}
|
77 |
h1 {
|
78 |
color: #b388ff !important;
|
79 |
-
font-size:
|
80 |
margin-bottom: 0.5rem !important;
|
81 |
font-weight: 700 !important;
|
82 |
}
|
83 |
h3 {
|
84 |
color: #9575cd !important;
|
85 |
-
font-size: 1.
|
86 |
font-weight: 500 !important;
|
87 |
margin-bottom: 2rem !important;
|
88 |
}
|
@@ -98,7 +98,7 @@ h3 {
|
|
98 |
.input-container label {
|
99 |
color: #ffffff !important;
|
100 |
font-weight: 600 !important;
|
101 |
-
font-size:
|
102 |
margin-bottom: 0.5rem !important;
|
103 |
background: transparent !important;
|
104 |
}
|
@@ -108,7 +108,7 @@ textarea {
|
|
108 |
border: 2px solid #673ab7 !important;
|
109 |
border-radius: 8px !important;
|
110 |
padding: 1rem !important;
|
111 |
-
font-size: 1.
|
112 |
min-height: 150px !important;
|
113 |
width: 100% !important;
|
114 |
}
|
@@ -117,7 +117,7 @@ textarea {
|
|
117 |
color: white !important;
|
118 |
padding: 1rem 3rem !important;
|
119 |
border-radius: 8px !important;
|
120 |
-
font-size: 1.
|
121 |
margin-top: 1.5rem !important;
|
122 |
transition: all 0.3s ease !important;
|
123 |
width: auto !important;
|
@@ -140,7 +140,7 @@ textarea {
|
|
140 |
.output-container label {
|
141 |
color: #ffffff !important;
|
142 |
font-weight: 600 !important;
|
143 |
-
font-size:
|
144 |
margin-bottom: 1rem !important;
|
145 |
background: transparent !important;
|
146 |
}
|
@@ -157,7 +157,7 @@ textarea {
|
|
157 |
.examples-container label {
|
158 |
color: #ffffff !important;
|
159 |
font-weight: 600 !important;
|
160 |
-
font-size:
|
161 |
background: transparent !important;
|
162 |
}
|
163 |
.footer {
|
@@ -174,6 +174,12 @@ textarea {
|
|
174 |
with gr.Blocks(css=custom_css) as demo:
|
175 |
with gr.Row(elem_classes=["main-container"]):
|
176 |
with gr.Column(elem_classes=["content-wrapper"]):
|
|
|
|
|
|
|
|
|
|
|
|
|
177 |
with gr.Row(elem_classes=["input-output-row"]):
|
178 |
with gr.Column(elem_classes=["input-container"]):
|
179 |
gr.Markdown("Clinical Symptom Description")
|
|
|
76 |
}
|
77 |
h1 {
|
78 |
color: #b388ff !important;
|
79 |
+
font-size: 2.5rem !important; /* Reduced from 3rem */
|
80 |
margin-bottom: 0.5rem !important;
|
81 |
font-weight: 700 !important;
|
82 |
}
|
83 |
h3 {
|
84 |
color: #9575cd !important;
|
85 |
+
font-size: 1.2rem !important; /* Reduced from 1.4rem */
|
86 |
font-weight: 500 !important;
|
87 |
margin-bottom: 2rem !important;
|
88 |
}
|
|
|
98 |
.input-container label {
|
99 |
color: #ffffff !important;
|
100 |
font-weight: 600 !important;
|
101 |
+
font-size: 1rem !important; /* Reduced from 1.1rem */
|
102 |
margin-bottom: 0.5rem !important;
|
103 |
background: transparent !important;
|
104 |
}
|
|
|
108 |
border: 2px solid #673ab7 !important;
|
109 |
border-radius: 8px !important;
|
110 |
padding: 1rem !important;
|
111 |
+
font-size: 1.1rem !important; /* Reduced from 1.2rem */
|
112 |
min-height: 150px !important;
|
113 |
width: 100% !important;
|
114 |
}
|
|
|
117 |
color: white !important;
|
118 |
padding: 1rem 3rem !important;
|
119 |
border-radius: 8px !important;
|
120 |
+
font-size: 1.1rem !important; /* Reduced from 1.2rem */
|
121 |
margin-top: 1.5rem !important;
|
122 |
transition: all 0.3s ease !important;
|
123 |
width: auto !important;
|
|
|
140 |
.output-container label {
|
141 |
color: #ffffff !important;
|
142 |
font-weight: 600 !important;
|
143 |
+
font-size: 1rem !important; /* Reduced from 1.1rem */
|
144 |
margin-bottom: 1rem !important;
|
145 |
background: transparent !important;
|
146 |
}
|
|
|
157 |
.examples-container label {
|
158 |
color: #ffffff !important;
|
159 |
font-weight: 600 !important;
|
160 |
+
font-size: 1rem !important; /* Reduced from 1.1rem */
|
161 |
background: transparent !important;
|
162 |
}
|
163 |
.footer {
|
|
|
174 |
with gr.Blocks(css=custom_css) as demo:
|
175 |
with gr.Row(elem_classes=["main-container"]):
|
176 |
with gr.Column(elem_classes=["content-wrapper"]):
|
177 |
+
gr.Markdown(
|
178 |
+
"""
|
179 |
+
# 🏥 Clinical Symptom ICD9 Classifier
|
180 |
+
### AI-Powered Medical Diagnosis Code Suggestion Tool
|
181 |
+
"""
|
182 |
+
)
|
183 |
with gr.Row(elem_classes=["input-output-row"]):
|
184 |
with gr.Column(elem_classes=["input-container"]):
|
185 |
gr.Markdown("Clinical Symptom Description")
|