Update app.py
Browse files
app.py
CHANGED
|
@@ -105,46 +105,12 @@ def generate_product_description(image, description_type, custom_instruction=Non
|
|
| 105 |
css = """
|
| 106 |
body {
|
| 107 |
font-family: 'Inter', sans-serif;
|
| 108 |
-
background-color: #ffffff;
|
| 109 |
-
color: #333333;
|
| 110 |
}
|
|
|
|
| 111 |
#output {
|
| 112 |
height: 500px;
|
| 113 |
overflow: auto;
|
| 114 |
border: 1px solid #ccc;
|
| 115 |
-
padding: 20px;
|
| 116 |
-
font-size: 1em; /* Reduced font size */
|
| 117 |
-
border-radius: 8px;
|
| 118 |
-
}
|
| 119 |
-
button, select, input[type="button"], input[type="submit"] {
|
| 120 |
-
background-color: #3452db; /* Correct WordLift blue */
|
| 121 |
-
color: white;
|
| 122 |
-
border-radius: 5px; /* Slightly smaller radius */
|
| 123 |
-
padding: 10px 20px;
|
| 124 |
-
border: none;
|
| 125 |
-
font-size: 1em;
|
| 126 |
-
cursor: pointer;
|
| 127 |
-
box-shadow: none; /* Removed heavy shadow */
|
| 128 |
-
}
|
| 129 |
-
button:hover, select:hover, input[type="button"]:hover, input[type="submit"]:hover {
|
| 130 |
-
background-color: #2c44ba; /* Slightly darker shade for hover */
|
| 131 |
-
}
|
| 132 |
-
.gr-box {
|
| 133 |
-
border: 1px solid #e1e1e1;
|
| 134 |
-
border-radius: 5px;
|
| 135 |
-
box-shadow: none; /* Removed heavy shadow */
|
| 136 |
-
padding: 15px; /* Reduced padding */
|
| 137 |
-
}
|
| 138 |
-
.gr-block {
|
| 139 |
-
margin-bottom: 15px; /* Reduced margin */
|
| 140 |
-
}
|
| 141 |
-
.output-text {
|
| 142 |
-
font-size: 1.1em; /* Reduced font size */
|
| 143 |
-
color: #000000;
|
| 144 |
-
padding: 10px; /* Reduced padding */
|
| 145 |
-
border-radius: 5px;
|
| 146 |
-
box-shadow: none; /* Removed heavy shadow */
|
| 147 |
-
border: 1px solid #e1e1e1;
|
| 148 |
}
|
| 149 |
"""
|
| 150 |
|
|
|
|
| 105 |
css = """
|
| 106 |
body {
|
| 107 |
font-family: 'Inter', sans-serif;
|
|
|
|
|
|
|
| 108 |
}
|
| 109 |
+
css = """
|
| 110 |
#output {
|
| 111 |
height: 500px;
|
| 112 |
overflow: auto;
|
| 113 |
border: 1px solid #ccc;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 114 |
}
|
| 115 |
"""
|
| 116 |
|