Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -82,6 +82,42 @@ def transcribe_file(audio_upload, language):
|
|
82 |
|
83 |
|
84 |
css_content = """
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
/*
|
86 |
.gradio-container{
|
87 |
padding: 0 !important;
|
@@ -163,46 +199,6 @@ button.selected::after{
|
|
163 |
.record-button::before{
|
164 |
background: #E50914;
|
165 |
}
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
.popup-overlay {
|
171 |
-
position: fixed !important;
|
172 |
-
top: 0 !important;
|
173 |
-
left: 0 !important;
|
174 |
-
width: 100vw !important;
|
175 |
-
height: 100vh !important;
|
176 |
-
background: rgba(0, 0, 0, 0.5) !important;
|
177 |
-
z-index: 9999 !important;
|
178 |
-
display: flex !important;
|
179 |
-
justify-content: center !important;
|
180 |
-
align-items: center !important;
|
181 |
-
flex-direction: column !important;
|
182 |
-
}
|
183 |
-
|
184 |
-
.popup-box {
|
185 |
-
background-color: white !important;
|
186 |
-
padding: 20px !important;
|
187 |
-
border-radius: 10px !important;
|
188 |
-
box-shadow: 0 0 20px rgba(0,0,0,0.3) !important;
|
189 |
-
width: 340px !important;
|
190 |
-
text-align: center !important;
|
191 |
-
}
|
192 |
-
|
193 |
-
.popup-button {
|
194 |
-
background-color: #5b65a7 !important;
|
195 |
-
color: white !important;
|
196 |
-
padding: 10px 20px !important;
|
197 |
-
border-radius: 8px !important;
|
198 |
-
margin-top: 10px !important;
|
199 |
-
border: none !important;
|
200 |
-
cursor: pointer !important;
|
201 |
-
}
|
202 |
-
|
203 |
-
.popup-button:hover {
|
204 |
-
background-color: #3c4687 !important;
|
205 |
-
}
|
206 |
"""
|
207 |
|
208 |
|
|
|
82 |
|
83 |
|
84 |
css_content = """
|
85 |
+
.popup-overlay {
|
86 |
+
position: fixed !important;
|
87 |
+
top: 0 !important;
|
88 |
+
left: 0 !important;
|
89 |
+
width: 100vw !important;
|
90 |
+
height: 100vh !important;
|
91 |
+
background: rgba(0, 0, 0, 0.5) !important;
|
92 |
+
z-index: 9999 !important;
|
93 |
+
display: flex !important;
|
94 |
+
justify-content: center !important;
|
95 |
+
align-items: center !important;
|
96 |
+
flex-direction: column !important;
|
97 |
+
}
|
98 |
+
/*
|
99 |
+
.popup-box {
|
100 |
+
background-color: white !important;
|
101 |
+
padding: 20px !important;
|
102 |
+
border-radius: 10px !important;
|
103 |
+
box-shadow: 0 0 20px rgba(0,0,0,0.3) !important;
|
104 |
+
width: 340px !important;
|
105 |
+
text-align: center !important;
|
106 |
+
}
|
107 |
+
/*
|
108 |
+
.popup-button {
|
109 |
+
background-color: #5b65a7 !important;
|
110 |
+
color: white !important;
|
111 |
+
padding: 10px 20px !important;
|
112 |
+
border-radius: 8px !important;
|
113 |
+
margin-top: 10px !important;
|
114 |
+
border: none !important;
|
115 |
+
cursor: pointer !important;
|
116 |
+
}
|
117 |
+
/*
|
118 |
+
.popup-button:hover {
|
119 |
+
background-color: #3c4687 !important;
|
120 |
+
}
|
121 |
/*
|
122 |
.gradio-container{
|
123 |
padding: 0 !important;
|
|
|
199 |
.record-button::before{
|
200 |
background: #E50914;
|
201 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
202 |
"""
|
203 |
|
204 |
|