Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -80,14 +80,14 @@ def transcribe_file(audio_upload, language):
|
|
80 |
|
81 |
|
82 |
css_content = """
|
83 |
-
|
84 |
font-size: 1.1rem;
|
85 |
line-height: 1.6;
|
86 |
text-align: center;
|
87 |
color: #333;
|
88 |
}
|
89 |
|
90 |
-
|
91 |
background-color: #4CAF50; /* green */
|
92 |
color: white;
|
93 |
padding: 10px 20px;
|
@@ -100,7 +100,7 @@ css_content = """
|
|
100 |
transition: background-color 0.3s ease;
|
101 |
}
|
102 |
|
103 |
-
|
104 |
background-color: #388E3C;
|
105 |
}
|
106 |
|
@@ -213,6 +213,8 @@ with demo:
|
|
213 |
🇪🇸 ¡Bienvenida/o a la demo de LANGSWITCH, el sistema de reconocimiento automático del habla multilingüe desarrollado por Orai NLP Teknologiak!
|
214 |
|
215 |
🇬🇧 Welcome to the LANGSWITCH demo, the multilingual automatic speech recogniser developed by Orai NLP Teknologiak!
|
|
|
|
|
216 |
|
217 |
Grabaketak ez dira gordetzen eta automatikoki ezabatzen dira.
|
218 |
|
@@ -220,7 +222,7 @@ with demo:
|
|
220 |
|
221 |
🇬🇧 The recordings are not saved and are automatically removed.
|
222 |
""", elem_id=["intro-text"])
|
223 |
-
ok_button = gr.Button("OK", elem_id=
|
224 |
ok_button.click(fn=start_app, outputs=[intro, app_block])
|
225 |
|
226 |
with app_block:
|
|
|
80 |
|
81 |
|
82 |
css_content = """
|
83 |
+
#intro-text {
|
84 |
font-size: 1.1rem;
|
85 |
line-height: 1.6;
|
86 |
text-align: center;
|
87 |
color: #333;
|
88 |
}
|
89 |
|
90 |
+
#ok-button {
|
91 |
background-color: #4CAF50; /* green */
|
92 |
color: white;
|
93 |
padding: 10px 20px;
|
|
|
100 |
transition: background-color 0.3s ease;
|
101 |
}
|
102 |
|
103 |
+
#ok-button:hover {
|
104 |
background-color: #388E3C;
|
105 |
}
|
106 |
|
|
|
213 |
🇪🇸 ¡Bienvenida/o a la demo de LANGSWITCH, el sistema de reconocimiento automático del habla multilingüe desarrollado por Orai NLP Teknologiak!
|
214 |
|
215 |
🇬🇧 Welcome to the LANGSWITCH demo, the multilingual automatic speech recogniser developed by Orai NLP Teknologiak!
|
216 |
+
|
217 |
+
|
218 |
|
219 |
Grabaketak ez dira gordetzen eta automatikoki ezabatzen dira.
|
220 |
|
|
|
222 |
|
223 |
🇬🇧 The recordings are not saved and are automatically removed.
|
224 |
""", elem_id=["intro-text"])
|
225 |
+
ok_button = gr.Button("OK", elem_id="ok-button")
|
226 |
ok_button.click(fn=start_app, outputs=[intro, app_block])
|
227 |
|
228 |
with app_block:
|