Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -219,6 +219,14 @@ textarea:hover, input:hover {
|
|
| 219 |
height: auto;
|
| 220 |
overflow-y: auto;
|
| 221 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 222 |
"""
|
| 223 |
|
| 224 |
# Gradio Application
|
|
@@ -232,8 +240,8 @@ with gr.Blocks(css=custom_css) as app:
|
|
| 232 |
sentiment = gr.Textbox(label="Detected Sentiment")
|
| 233 |
emotion = gr.Textbox(label="Detected Emotion")
|
| 234 |
|
| 235 |
-
# Adding Suggestions Title
|
| 236 |
-
gr.Markdown("
|
| 237 |
|
| 238 |
suggestions = gr.DataFrame(headers=["Title", "Link"]) # Table for suggestions
|
| 239 |
professionals = gr.Textbox(label="Nearby Professionals", lines=6)
|
|
|
|
| 219 |
height: auto;
|
| 220 |
overflow-y: auto;
|
| 221 |
}
|
| 222 |
+
|
| 223 |
+
#suggestions-title {
|
| 224 |
+
text-align: center;
|
| 225 |
+
font-weight: bold;
|
| 226 |
+
color: white;
|
| 227 |
+
font-size: 1.8rem;
|
| 228 |
+
margin-bottom: 20px;
|
| 229 |
+
}
|
| 230 |
"""
|
| 231 |
|
| 232 |
# Gradio Application
|
|
|
|
| 240 |
sentiment = gr.Textbox(label="Detected Sentiment")
|
| 241 |
emotion = gr.Textbox(label="Detected Emotion")
|
| 242 |
|
| 243 |
+
# Adding Suggestions Title with Styled Markdown (Centered and Bold)
|
| 244 |
+
gr.Markdown("Suggestions", elem_id="suggestions-title")
|
| 245 |
|
| 246 |
suggestions = gr.DataFrame(headers=["Title", "Link"]) # Table for suggestions
|
| 247 |
professionals = gr.Textbox(label="Nearby Professionals", lines=6)
|