Zaiiida commited on
Commit
1d5f68d
·
verified ·
1 Parent(s): f17fb7b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +18 -2
app.py CHANGED
@@ -64,7 +64,18 @@ class CustomTheme(gr.themes.Base):
64
  self.text_color_secondary = "#AEB3B8"
65
  self.text_color_tertiary = "#AEB3B8"
66
 
67
- with gr.Blocks(theme=CustomTheme()) as demo:
 
 
 
 
 
 
 
 
 
 
 
68
  with gr.Column(elem_id="col-container"):
69
  gr.Markdown("Prompt")
70
 
@@ -173,4 +184,9 @@ with gr.Blocks(theme=CustomTheme()) as demo:
173
  )
174
 
175
  if __name__ == "__main__":
176
- demo.launch(server_name="0.0.0.0", server_port=7860, share=True, show_api=False, show_footer=False )
 
 
 
 
 
 
64
  self.text_color_secondary = "#AEB3B8"
65
  self.text_color_tertiary = "#AEB3B8"
66
 
67
+ # Custom CSS to hide the footer
68
+ css = """
69
+ footer {
70
+ visibility: hidden;
71
+ height: 0;
72
+ margin: 0;
73
+ padding: 0;
74
+ overflow: hidden;
75
+ }
76
+ """
77
+
78
+ with gr.Blocks(theme=CustomTheme(), css=css) as demo:
79
  with gr.Column(elem_id="col-container"):
80
  gr.Markdown("Prompt")
81
 
 
184
  )
185
 
186
  if __name__ == "__main__":
187
+ demo.launch(
188
+ server_name="0.0.0.0",
189
+ server_port=7860,
190
+ share=True,
191
+ show_api=False
192
+ )