Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -17,11 +17,6 @@ examples = [
|
|
17 |
|
18 |
# Custom CSS for minimalist style, horizontal example layout, and styled prompt box
|
19 |
custom_css = """
|
20 |
-
/* Remove border and background color for the output image preview */
|
21 |
-
.output-image {
|
22 |
-
border: none !important; /* No border */
|
23 |
-
background: none !important; /* No background color */
|
24 |
-
}
|
25 |
|
26 |
/* Prompt textbox styling */
|
27 |
input[type="text"] {
|
@@ -30,7 +25,7 @@ input[type="text"] {
|
|
30 |
padding: 12px;
|
31 |
font-size: 16px;
|
32 |
width: 100%;
|
33 |
-
background-color: #
|
34 |
}
|
35 |
|
36 |
/* Examples arranged in a single line, without buttons */
|
@@ -55,7 +50,7 @@ input[type="text"] {
|
|
55 |
|
56 |
/* Hover effect on examples */
|
57 |
.gr-examples span:hover {
|
58 |
-
background-color: #
|
59 |
color: #007bff; /* Change text color on hover */
|
60 |
text-decoration: underline; /* Underline text on hover */
|
61 |
}
|
|
|
17 |
|
18 |
# Custom CSS for minimalist style, horizontal example layout, and styled prompt box
|
19 |
custom_css = """
|
|
|
|
|
|
|
|
|
|
|
20 |
|
21 |
/* Prompt textbox styling */
|
22 |
input[type="text"] {
|
|
|
25 |
padding: 12px;
|
26 |
font-size: 16px;
|
27 |
width: 100%;
|
28 |
+
background-color: #f94925; /* Light gray background */
|
29 |
}
|
30 |
|
31 |
/* Examples arranged in a single line, without buttons */
|
|
|
50 |
|
51 |
/* Hover effect on examples */
|
52 |
.gr-examples span:hover {
|
53 |
+
background-color: #000000; /* Light gray on hover */
|
54 |
color: #007bff; /* Change text color on hover */
|
55 |
text-decoration: underline; /* Underline text on hover */
|
56 |
}
|