Spaces:
Runtime error
Runtime error
Alexander Seifert
commited on
Commit
·
8ae6044
1
Parent(s):
999c934
update
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ def run():
|
|
38 |
col1, col2 = st.columns([1, 3])
|
39 |
type = col1.radio(
|
40 |
"Input-Typ",
|
41 |
-
["Beispiel (Kabarett)", "URL", "Datei-Upload"],
|
42 |
label_visibility="hidden",
|
43 |
)
|
44 |
if type == "Beispiel (Kabarett)":
|
@@ -47,7 +47,7 @@ def run():
|
|
47 |
value="https://www.youtube.com/watch?v=6UONiGMmbS4",
|
48 |
disabled=True,
|
49 |
)
|
50 |
-
elif type == "URL":
|
51 |
url = col2.text_input(
|
52 |
"URL (e.g. YouTube video, Dropbox file, etc.)",
|
53 |
value="",
|
|
|
38 |
col1, col2 = st.columns([1, 3])
|
39 |
type = col1.radio(
|
40 |
"Input-Typ",
|
41 |
+
["Beispiel (Kabarett)", "URL (YouTube, …)", "Datei-Upload"],
|
42 |
label_visibility="hidden",
|
43 |
)
|
44 |
if type == "Beispiel (Kabarett)":
|
|
|
47 |
value="https://www.youtube.com/watch?v=6UONiGMmbS4",
|
48 |
disabled=True,
|
49 |
)
|
50 |
+
elif type == "URL (YouTube, …)":
|
51 |
url = col2.text_input(
|
52 |
"URL (e.g. YouTube video, Dropbox file, etc.)",
|
53 |
value="",
|