My-AI-Projects commited on
Commit
2ab4370
1 Parent(s): 7153b76

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -124,9 +124,9 @@ dark_theme = gr.themes.Default(
124
  body_background_fill="#000000" # Set background to black
125
  )
126
  custom_css = """
127
- .gradio-app #footer {
128
- display: none;
129
- }
130
  """
131
 
132
  # Gradio demo using the Image-Slider custom component
@@ -142,4 +142,4 @@ with gr.Blocks(theme=dark_theme,css=custom_css) as demo:
142
  clear = gr.Button("Clear")
143
  btn.click(colorize, bw_image, col_image_slider)
144
  clear.click(clear_images, outputs=[bw_image, col_image_slider])
145
- demo.launch()
 
124
  body_background_fill="#000000" # Set background to black
125
  )
126
  custom_css = """
127
+ footer {
128
+ display: none !important;
129
+ }
130
  """
131
 
132
  # Gradio demo using the Image-Slider custom component
 
142
  clear = gr.Button("Clear")
143
  btn.click(colorize, bw_image, col_image_slider)
144
  clear.click(clear_images, outputs=[bw_image, col_image_slider])
145
+ demo.launch(show_api=False)