Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -134,11 +134,18 @@ YOUTUBE_EXAMPLES = ["https://www.youtube.com/watch?v=vMboypSkj3c",
|
|
134 |
"https://youtu.be/bnS-HK_lTHA?si=PQLVAab3QHMbv0S3https://youtu.be/zJB0nnOc7bM?si=EA1DN8nHWJcpQWp_",
|
135 |
"https://youtu.be/mIWYTg55h10?si=WkbtKfL6NlNquvT8"]
|
136 |
|
137 |
-
# theme = 'gradio/dracula_revamped' #'Insuz/Mocha' #gr.themes.Soft()
|
138 |
-
# with gr.Blocks(theme=theme) as demo:
|
139 |
theme = gr.Theme.from_hub("gradio/dracula_revamped")
|
140 |
theme.text_md = '9px'
|
141 |
theme.text_lg = '11px'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
142 |
css = """
|
143 |
.gradio-container {
|
144 |
background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
|
@@ -176,9 +183,8 @@ with gr.Blocks(theme=theme, css=css) as demo:
|
|
176 |
- FP Precision: BF16-mixed for training, FP16 for inference
|
177 |
|
178 |
#### Caution:
|
179 |
-
- Currently running on CPU, and it takes longer than 3 minutes for a 30-second input.
|
180 |
- For acadmic reproduction purpose, we strongly recommend to use [Colab Demo](https://colab.research.google.com/drive/1AgOVEBfZknDkjmSRA7leoa81a2vrnhBG?usp=sharing) with multiple checkpoints.
|
181 |
-
|
182 |
<div style="display: inline-block;">
|
183 |
<a href="https://arxiv.org/abs/2407.04822">
|
184 |
<img src="https://img.shields.io/badge/arXiv-B31B1B?logo=arxiv&logoColor=fff&style=plastic" alt="arXiv Badge"/>
|
|
|
134 |
"https://youtu.be/bnS-HK_lTHA?si=PQLVAab3QHMbv0S3https://youtu.be/zJB0nnOc7bM?si=EA1DN8nHWJcpQWp_",
|
135 |
"https://youtu.be/mIWYTg55h10?si=WkbtKfL6NlNquvT8"]
|
136 |
|
|
|
|
|
137 |
theme = gr.Theme.from_hub("gradio/dracula_revamped")
|
138 |
theme.text_md = '9px'
|
139 |
theme.text_lg = '11px'
|
140 |
+
|
141 |
+
theme.body_background_fill_dark = '#060a1c' #'#372037'# '#a17ba5' #'#73d3ac'
|
142 |
+
theme.border_color_primary_dark = '#45507328'
|
143 |
+
theme.block_background_fill_dark = '#3845685c'
|
144 |
+
|
145 |
+
theme.body_text_color_dark = 'white'
|
146 |
+
theme.block_title_text_color_dark = 'black'
|
147 |
+
theme.body_text_color_subdued_dark = '#e4e9e9'
|
148 |
+
|
149 |
css = """
|
150 |
.gradio-container {
|
151 |
background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
|
|
|
183 |
- FP Precision: BF16-mixed for training, FP16 for inference
|
184 |
|
185 |
#### Caution:
|
|
|
186 |
- For acadmic reproduction purpose, we strongly recommend to use [Colab Demo](https://colab.research.google.com/drive/1AgOVEBfZknDkjmSRA7leoa81a2vrnhBG?usp=sharing) with multiple checkpoints.
|
187 |
+
|
188 |
<div style="display: inline-block;">
|
189 |
<a href="https://arxiv.org/abs/2407.04822">
|
190 |
<img src="https://img.shields.io/badge/arXiv-B31B1B?logo=arxiv&logoColor=fff&style=plastic" alt="arXiv Badge"/>
|