Update app.py
Browse files
app.py
CHANGED
|
@@ -15,17 +15,22 @@ def predict(image):
|
|
| 15 |
|
| 16 |
css = """
|
| 17 |
.gradio-container {
|
| 18 |
-
background-color: #
|
| 19 |
font-family: Arial, sans-serif;
|
| 20 |
}
|
| 21 |
.gr-button {
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
}
|
|
|
|
| 27 |
.gr-button:hover {
|
| 28 |
-
|
| 29 |
}
|
| 30 |
.gr-textbox, .gr-image {
|
| 31 |
border: 2px dashed #007bff;
|
|
|
|
| 15 |
|
| 16 |
css = """
|
| 17 |
.gradio-container {
|
| 18 |
+
background-color: #f5f5f5;
|
| 19 |
font-family: Arial, sans-serif;
|
| 20 |
}
|
| 21 |
.gr-button {
|
| 22 |
+
background-color: #007bff; /* Blue background */
|
| 23 |
+
color: white; /* White text */
|
| 24 |
+
border: none; /* Remove default border */
|
| 25 |
+
border-radius: 5px; /* Rounded corners */
|
| 26 |
+
font-size: 16px; /* Adjust font size */
|
| 27 |
+
padding: 10px 20px; /* Add padding for a larger clickable area */
|
| 28 |
+
cursor: pointer; /* Change cursor to pointer to indicate it's clickable */
|
| 29 |
+
transition: background-color 0.3s ease; /* Smooth hover transition */
|
| 30 |
}
|
| 31 |
+
|
| 32 |
.gr-button:hover {
|
| 33 |
+
background-color: #0056b3; /* Darker blue on hover */
|
| 34 |
}
|
| 35 |
.gr-textbox, .gr-image {
|
| 36 |
border: 2px dashed #007bff;
|