mimbres commited on
Commit
b83da2a
·
verified ·
1 Parent(s): bc1c8d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py CHANGED
@@ -135,6 +135,15 @@ YOUTUBE_EXAMPLES = ["https://www.youtube.com/watch?v=vMboypSkj3c",
135
  theme = gr.Theme.from_hub("gradio/dracula_revamped")
136
  theme.text_md = '9px'
137
  theme.text_lg = '11px'
 
 
 
 
 
 
 
 
 
138
  css = """
139
  .gradio-container {
140
  background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
@@ -174,6 +183,7 @@ with gr.Blocks(theme=theme, css=css) as demo:
174
  #### Caution:
175
  - Currently running on CPU, and it takes longer than 3 minutes for a 30-second input. Please try [GPU-HuggingFace-demo](mimbres/YourMT3) for fast inference.
176
  - For acadmic reproduction purpose, we strongly recommend to use [Colab Demo](https://colab.research.google.com/drive/1AgOVEBfZknDkjmSRA7leoa81a2vrnhBG?usp=sharing) with multiple checkpoints.
 
177
  <div style="display: inline-block;">
178
  <a href="https://arxiv.org/abs/2407.04822">
179
  <img src="https://img.shields.io/badge/arXiv:2407.04822-B31B1B?logo=arxiv&logoColor=fff&style=plastic" alt="arXiv Badge"/>
 
135
  theme = gr.Theme.from_hub("gradio/dracula_revamped")
136
  theme.text_md = '9px'
137
  theme.text_lg = '11px'
138
+
139
+ theme.body_background_fill_dark = '#060a1c' #'#372037'# '#a17ba5' #'#73d3ac'
140
+ theme.border_color_primary_dark = '#45507328'
141
+ theme.block_background_fill_dark = '#3845685c'
142
+
143
+ theme.body_text_color_dark = 'white'
144
+ theme.block_title_text_color_dark = 'black'
145
+ theme.body_text_color_subdued_dark = '#e4e9e9'
146
+
147
  css = """
148
  .gradio-container {
149
  background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
 
183
  #### Caution:
184
  - Currently running on CPU, and it takes longer than 3 minutes for a 30-second input. Please try [GPU-HuggingFace-demo](mimbres/YourMT3) for fast inference.
185
  - For acadmic reproduction purpose, we strongly recommend to use [Colab Demo](https://colab.research.google.com/drive/1AgOVEBfZknDkjmSRA7leoa81a2vrnhBG?usp=sharing) with multiple checkpoints.
186
+
187
  <div style="display: inline-block;">
188
  <a href="https://arxiv.org/abs/2407.04822">
189
  <img src="https://img.shields.io/badge/arXiv:2407.04822-B31B1B?logo=arxiv&logoColor=fff&style=plastic" alt="arXiv Badge"/>