Spaces:
Running
on
Zero
Running
on
Zero
change the color of submit button
Browse files- app.py +2 -2
- requirements.txt +1 -3
app.py
CHANGED
|
@@ -145,7 +145,7 @@ with gr.Blocks() as demo:
|
|
| 145 |
demo.css = """
|
| 146 |
#submit-button {
|
| 147 |
color: red !important; /* Font color */
|
| 148 |
-
background-color:
|
| 149 |
border: none !important; /* Remove border */
|
| 150 |
padding: 10px 20px !important; /* Add padding */
|
| 151 |
border-radius: 5px !important; /* Rounded corners */
|
|
@@ -154,7 +154,7 @@ demo.css = """
|
|
| 154 |
}
|
| 155 |
|
| 156 |
#submit-button:hover {
|
| 157 |
-
background-color:
|
| 158 |
}
|
| 159 |
"""
|
| 160 |
|
|
|
|
| 145 |
demo.css = """
|
| 146 |
#submit-button {
|
| 147 |
color: red !important; /* Font color */
|
| 148 |
+
background-color: LightSalmon !important; /* Background color */
|
| 149 |
border: none !important; /* Remove border */
|
| 150 |
padding: 10px 20px !important; /* Add padding */
|
| 151 |
border-radius: 5px !important; /* Rounded corners */
|
|
|
|
| 154 |
}
|
| 155 |
|
| 156 |
#submit-button:hover {
|
| 157 |
+
background-color: Coral !important; /* Darker orange on hover */
|
| 158 |
}
|
| 159 |
"""
|
| 160 |
|
requirements.txt
CHANGED
|
@@ -8,9 +8,7 @@ opencv_python==4.6.0.66
|
|
| 8 |
opencv_python_headless==4.7.0.72
|
| 9 |
Pillow==8.4.0
|
| 10 |
pytorch_lightning==1.9.0
|
| 11 |
-
|
| 12 |
torch==1.12.1
|
| 13 |
torchvision==0.13.1
|
| 14 |
tqdm==4.62.3
|
| 15 |
-
segmentation-models-pytorch@git+https://github.com/ragavsachdeva/segmentation_models.pytorch.git@0092ee4d6f851d89a4a401bb2dfa6187660b8dd3
|
| 16 |
-
|
|
|
|
| 8 |
opencv_python_headless==4.7.0.72
|
| 9 |
Pillow==8.4.0
|
| 10 |
pytorch_lightning==1.9.0
|
| 11 |
+
segmentation-models-pytorch@git+https://github.com/ragavsachdeva/segmentation_models.pytorch.git@0092ee4d6f851d89a4a401bb2dfa6187660b8dd3
|
| 12 |
torch==1.12.1
|
| 13 |
torchvision==0.13.1
|
| 14 |
tqdm==4.62.3
|
|
|
|
|
|