Alexander Seifert commited on
Commit
999c934
1 Parent(s): 9af6bee
Files changed (1) hide show
  1. app.py +6 -3
app.py CHANGED
@@ -36,7 +36,11 @@ def run():
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.)",
@@ -93,8 +97,7 @@ def run():
93
  mime="application/json",
94
  )
95
 
96
- for seg in transcription["text"].split("\n\n"):
97
- st.write(seg)
98
 
99
 
100
  try:
 
36
  url = audio_file = None
37
 
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)":
45
  url = col2.text_input(
46
  "URL (e.g. YouTube video, Dropbox file, etc.)",
 
97
  mime="application/json",
98
  )
99
 
100
+ st.text_area("Transkript", transcription["text"], height=300)
 
101
 
102
 
103
  try: