DHEIVER commited on
Commit
d3847c5
·
verified ·
1 Parent(s): db56477

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +19 -1
app.py CHANGED
@@ -184,7 +184,7 @@ def upload_file(file_obj):
184
  list_file_path.append(file_path)
185
  return list_file_path
186
 
187
- # CSS personalizado para ocultar o cabeçalho do Hugging Face
188
  custom_css = """
189
  #banner {
190
  display: none !important;
@@ -192,6 +192,24 @@ custom_css = """
192
  footer {
193
  display: none !important;
194
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
195
  """
196
 
197
  # Interface Gradio
 
184
  list_file_path.append(file_path)
185
  return list_file_path
186
 
187
+ # CSS personalizado para ocultar elementos da interface
188
  custom_css = """
189
  #banner {
190
  display: none !important;
 
192
  footer {
193
  display: none !important;
194
  }
195
+ /* Ocultar a barra de navegação superior */
196
+ .navbar {
197
+ display: none !important;
198
+ }
199
+ .header {
200
+ display: none !important;
201
+ }
202
+ .navigation-bar {
203
+ display: none !important;
204
+ }
205
+ .top-navigation {
206
+ display: none !important;
207
+ }
208
+ /* Para garantir que não haja espaço em branco no topo */
209
+ body {
210
+ padding-top: 0 !important;
211
+ margin-top: 0 !important;
212
+ }
213
  """
214
 
215
  # Interface Gradio