Spaces:
Runtime error
Runtime error
Alexander Seifert
commited on
Commit
·
d8a8864
1
Parent(s):
e414a67
update
Browse files
app.py
CHANGED
@@ -46,8 +46,8 @@ def run():
|
|
46 |
audio_file = col2.file_uploader(
|
47 |
"Datei auswählen", type=[".wav", ".mp3", ".flac", ".m4a", ".ogg"]
|
48 |
)
|
49 |
-
|
50 |
-
submit_button =
|
51 |
label="⚡ Transkribieren"
|
52 |
+ (" (Zugriffscode inkorrekt)" if not password_is_correct(password) else ""),
|
53 |
disabled=(not password_is_correct(password) or (not audio_file and not url)),
|
|
|
46 |
audio_file = col2.file_uploader(
|
47 |
"Datei auswählen", type=[".wav", ".mp3", ".flac", ".m4a", ".ogg"]
|
48 |
)
|
49 |
+
|
50 |
+
submit_button = col2.button(
|
51 |
label="⚡ Transkribieren"
|
52 |
+ (" (Zugriffscode inkorrekt)" if not password_is_correct(password) else ""),
|
53 |
disabled=(not password_is_correct(password) or (not audio_file and not url)),
|