Wajahat698 commited on
Commit
916103f
·
verified ·
1 Parent(s): 8ce540d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -1993,7 +1993,12 @@ css = """
1993
  padding: 10px 20px;
1994
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
1995
  }
1996
-
 
 
 
 
 
1997
  """
1998
  def highlight_button(button_name):
1999
  return gr.Button.update(variant="primary") # Highlight the clicked button
 
1993
  padding: 10px 20px;
1994
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
1995
  }
1996
+ .gr-image-preview-buttons {
1997
+ display: none !important; /* Hide the download/expand buttons */
1998
+ }
1999
+ .gr-image-preview-label {
2000
+ display: none !important; /* Hide the "Image" text */
2001
+ }
2002
  """
2003
  def highlight_button(button_name):
2004
  return gr.Button.update(variant="primary") # Highlight the clicked button