Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -614,14 +614,21 @@ def handle_dislike(data: gr.LikeData):
|
|
614 |
def update_message(request: gr.Request):
|
615 |
return f"<h4 style='font-size: 22px; font-family: Calibri;'>Welcome, {request.username}</h4>"
|
616 |
custom_css = """
|
|
|
617 |
.gr-button {
|
618 |
-
background-color: #6366f1;
|
619 |
-
color: white;
|
620 |
-
border-radius: 10px;
|
621 |
-
padding: 10px 20px;
|
622 |
-
font-size: 16px;
|
|
|
|
|
623 |
}
|
624 |
|
|
|
|
|
|
|
|
|
625 |
.gr-input, .gr-markdown {
|
626 |
font-family: 'Arial', sans-serif;
|
627 |
border-radius: 10px;
|
|
|
614 |
def update_message(request: gr.Request):
|
615 |
return f"<h4 style='font-size: 22px; font-family: Calibri;'>Welcome, {request.username}</h4>"
|
616 |
custom_css = """
|
617 |
+
/* Include the CSS defined above */
|
618 |
.gr-button {
|
619 |
+
background-color: #6366f1 !important;
|
620 |
+
color: white !important;
|
621 |
+
border-radius: 10px !important;
|
622 |
+
padding: 10px 20px !important;
|
623 |
+
font-size: 16px !important;
|
624 |
+
border: none !important;
|
625 |
+
text-align: center;
|
626 |
}
|
627 |
|
628 |
+
.gr-button:hover {
|
629 |
+
background-color: #4f46e5 !important;
|
630 |
+
cursor: pointer !important;
|
631 |
+
}
|
632 |
.gr-input, .gr-markdown {
|
633 |
font-family: 'Arial', sans-serif;
|
634 |
border-radius: 10px;
|