pratyyush commited on
Commit
28f1a9b
·
verified ·
1 Parent(s): d2bb28a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -3
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 for styling and hiding fullscreen and share buttons
115
  custom_css = """
116
- /* Hide fullscreen and share buttons in the output box */
117
- .output_image .fullscreen, .output_image .share {
 
 
 
 
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 */