Update app.py
Browse files
app.py
CHANGED
|
@@ -111,10 +111,14 @@ def deblur_image(filepath):
|
|
| 111 |
print(f"Error processing image: {e}")
|
| 112 |
return None
|
| 113 |
|
| 114 |
-
# Custom CSS
|
| 115 |
custom_css = """
|
| 116 |
-
/* Hide fullscreen and share
|
| 117 |
-
.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 118 |
display: none !important;
|
| 119 |
}
|
| 120 |
/* Non-draggable images */
|
|
|
|
| 111 |
print(f"Error processing image: {e}")
|
| 112 |
return None
|
| 113 |
|
| 114 |
+
# Custom CSS to hide fullscreen and share icons
|
| 115 |
custom_css = """
|
| 116 |
+
/* Hide fullscreen and share icons in the output image component */
|
| 117 |
+
.gr-button[title="Fullscreen"], .gr-button[title="Share"] {
|
| 118 |
+
display: none !important;
|
| 119 |
+
}
|
| 120 |
+
/* Hide Gradio's footer and header */
|
| 121 |
+
footer, header, .gradio-footer, .gradio-header {
|
| 122 |
display: none !important;
|
| 123 |
}
|
| 124 |
/* Non-draggable images */
|