zach commited on
Commit
07101b1
·
1 Parent(s): af0db92

Remove gradio footer from UI

Browse files
Files changed (1) hide show
  1. src/app.py +8 -3
src/app.py CHANGED
@@ -178,7 +178,12 @@ def build_gradio_interface() -> gr.Blocks:
178
  gr.Blocks: The fully constructed Gradio UI layout.
179
  """
180
  custom_theme = CustomTheme()
181
- with gr.Blocks(title='Expressive TTS Arena', theme=custom_theme, fill_width=True) as demo:
 
 
 
 
 
182
  # Title
183
  gr.Markdown('# Expressive TTS Arena')
184
 
@@ -215,8 +220,8 @@ def build_gradio_interface() -> gr.Blocks:
215
  label='Generated Text',
216
  interactive=False,
217
  autoscroll=False,
218
- lines=5,
219
- max_lines=5,
220
  max_length=PROMPT_MAX_LENGTH,
221
  show_copy_button=True,
222
  )
 
178
  gr.Blocks: The fully constructed Gradio UI layout.
179
  """
180
  custom_theme = CustomTheme()
181
+ with gr.Blocks(
182
+ title='Expressive TTS Arena',
183
+ theme=custom_theme,
184
+ fill_width=True,
185
+ css='footer{display:none !important}'
186
+ ) as demo:
187
  # Title
188
  gr.Markdown('# Expressive TTS Arena')
189
 
 
220
  label='Generated Text',
221
  interactive=False,
222
  autoscroll=False,
223
+ lines=6,
224
+ max_lines=6,
225
  max_length=PROMPT_MAX_LENGTH,
226
  show_copy_button=True,
227
  )