Update app.py
Browse files
app.py
CHANGED
|
@@ -100,6 +100,25 @@ img[src*='#center'] {
|
|
| 100 |
display: block;
|
| 101 |
margin: auto;
|
| 102 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 103 |
"""
|
| 104 |
|
| 105 |
with gr.Blocks(css=css) as demo:
|
|
@@ -137,7 +156,8 @@ with gr.Blocks(css=css) as demo:
|
|
| 137 |
)
|
| 138 |
|
| 139 |
video_out = gr.Video(
|
| 140 |
-
label = "Waveform video"
|
|
|
|
| 141 |
)
|
| 142 |
|
| 143 |
npz_file = gr.File(
|
|
|
|
| 100 |
display: block;
|
| 101 |
margin: auto;
|
| 102 |
}
|
| 103 |
+
.footer {
|
| 104 |
+
margin-bottom: 45px;
|
| 105 |
+
margin-top: 10px;
|
| 106 |
+
text-align: center;
|
| 107 |
+
border-bottom: 1px solid #e5e5e5;
|
| 108 |
+
}
|
| 109 |
+
.footer>p {
|
| 110 |
+
font-size: .8rem;
|
| 111 |
+
display: inline-block;
|
| 112 |
+
padding: 0 10px;
|
| 113 |
+
transform: translateY(10px);
|
| 114 |
+
background: white;
|
| 115 |
+
}
|
| 116 |
+
.dark .footer {
|
| 117 |
+
border-color: #303030;
|
| 118 |
+
}
|
| 119 |
+
.dark .footer>p {
|
| 120 |
+
background: #0b0f19;
|
| 121 |
+
}
|
| 122 |
"""
|
| 123 |
|
| 124 |
with gr.Blocks(css=css) as demo:
|
|
|
|
| 156 |
)
|
| 157 |
|
| 158 |
video_out = gr.Video(
|
| 159 |
+
label = "Waveform video",
|
| 160 |
+
animate = True
|
| 161 |
)
|
| 162 |
|
| 163 |
npz_file = gr.File(
|