Wajahat698 commited on
Commit
80dd3ac
·
verified ·
1 Parent(s): 916103f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -7
app.py CHANGED
@@ -1993,12 +1993,7 @@ css = """
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
@@ -2013,7 +2008,7 @@ with gr.Blocks(css=css,js=js_func) as demo:
2013
  )
2014
  gr.Image(
2015
  value="https://huggingface.co/spaces/trustlogic/temporary-trustlogic-demo/resolve/main/screenshot.png",
2016
- label=""
2017
  )
2018
 
2019
 
 
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
 
2008
  )
2009
  gr.Image(
2010
  value="https://huggingface.co/spaces/trustlogic/temporary-trustlogic-demo/resolve/main/screenshot.png",
2011
+ label="",interactive=False
2012
  )
2013
 
2014