Spaces:
Running
on
T4
Running
on
T4
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
import time
|
2 |
import os
|
3 |
import re
|
4 |
-
import base64
|
5 |
|
6 |
import torch
|
7 |
import torchaudio
|
@@ -131,21 +130,22 @@ demo = gr.Blocks()
|
|
131 |
with demo:
|
132 |
gr.HTML("""
|
133 |
<style>
|
134 |
-
|
135 |
-
|
136 |
-
color:
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
text-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
|
|
146 |
}
|
147 |
.gr-button:hover {
|
148 |
-
background-color: #B22222; /* Darker red on hover */
|
149 |
}
|
150 |
</style>
|
151 |
""")
|
|
|
1 |
import time
|
2 |
import os
|
3 |
import re
|
|
|
4 |
|
5 |
import torch
|
6 |
import torchaudio
|
|
|
130 |
with demo:
|
131 |
gr.HTML("""
|
132 |
<style>
|
133 |
+
/* General styles for the interface */
|
134 |
+
.gr-button {
|
135 |
+
background-color: #F44336 !important; /* Red background */
|
136 |
+
color: white !important; /* White text */
|
137 |
+
border: none !important;
|
138 |
+
padding: 10px 20px !important;
|
139 |
+
text-align: center !important;
|
140 |
+
text-decoration: none !important;
|
141 |
+
display: inline-block !important;
|
142 |
+
font-size: 16px !important;
|
143 |
+
margin: 4px 2px !important;
|
144 |
+
cursor: pointer !important;
|
145 |
+
border-radius: 4px !important;
|
146 |
}
|
147 |
.gr-button:hover {
|
148 |
+
background-color: #B22222 !important; /* Darker red on hover */
|
149 |
}
|
150 |
</style>
|
151 |
""")
|