Update app.py
Browse files
app.py
CHANGED
|
@@ -186,6 +186,7 @@ def main():
|
|
| 186 |
# Define local image paths
|
| 187 |
logo_path = "Equinix-LOGO.jpeg" # Ensure this file exists
|
| 188 |
|
|
|
|
| 189 |
# Custom CSS for background styling
|
| 190 |
custom_css = """
|
| 191 |
.gradio-container {
|
|
@@ -198,7 +199,15 @@ def main():
|
|
| 198 |
max-width: 200px; /* Adjust size */
|
| 199 |
}
|
| 200 |
/* Hide download buttons and controls */
|
| 201 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 202 |
display: none !important;
|
| 203 |
}
|
| 204 |
"""
|
|
|
|
| 186 |
# Define local image paths
|
| 187 |
logo_path = "Equinix-LOGO.jpeg" # Ensure this file exists
|
| 188 |
|
| 189 |
+
# Custom CSS for background styling
|
| 190 |
# Custom CSS for background styling
|
| 191 |
custom_css = """
|
| 192 |
.gradio-container {
|
|
|
|
| 199 |
max-width: 200px; /* Adjust size */
|
| 200 |
}
|
| 201 |
/* Hide download buttons and controls */
|
| 202 |
+
.download-button {
|
| 203 |
+
display: none !important;
|
| 204 |
+
}
|
| 205 |
+
/* Hide other download options */
|
| 206 |
+
.file-preview .download {
|
| 207 |
+
display: none !important;
|
| 208 |
+
}
|
| 209 |
+
/* Hide the three dots menu that might contain download options */
|
| 210 |
+
.icon-button.secondary {
|
| 211 |
display: none !important;
|
| 212 |
}
|
| 213 |
"""
|