Spaces:
Runtime error
Runtime error
Alexander Seifert
commited on
Commit
·
222d696
1
Parent(s):
8930d8d
qualtinger demo
Browse files
app.py
CHANGED
@@ -36,8 +36,14 @@ def run():
|
|
36 |
url = audio_file = None
|
37 |
|
38 |
col1, col2 = st.columns([1, 3])
|
39 |
-
type = col1.radio("", ["URL", "Datei-Upload"])
|
40 |
-
if type == "
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
url = col2.text_input(
|
42 |
"URL (e.g. YouTube video, Dropbox file, etc.)",
|
43 |
value="",
|
|
|
36 |
url = audio_file = None
|
37 |
|
38 |
col1, col2 = st.columns([1, 3])
|
39 |
+
type = col1.radio("", ["Beispiel (Kabarett)", "URL", "Datei-Upload"])
|
40 |
+
if type == "Beispiel (Kabarett)":
|
41 |
+
url = col2.text_input(
|
42 |
+
"URL (e.g. YouTube video, Dropbox file, etc.)",
|
43 |
+
value="https://www.youtube.com/watch?v=6UONiGMmbS4",
|
44 |
+
disabled=True,
|
45 |
+
)
|
46 |
+
elif type == "URL":
|
47 |
url = col2.text_input(
|
48 |
"URL (e.g. YouTube video, Dropbox file, etc.)",
|
49 |
value="",
|