Spaces:
Runtime error
Runtime error
Alexander Seifert
commited on
Commit
·
70a2eab
1
Parent(s):
bfd46d4
Revert "put buttons in cols"
Browse filesThis reverts commit bfd46d458c45edf175dabf7603dbde778d752684.
app.py
CHANGED
@@ -83,15 +83,14 @@ def run():
|
|
83 |
with st.spinner("Transkription läuft..."):
|
84 |
transcription = transcribe(url, audio_b64, cutoff)
|
85 |
|
86 |
-
|
87 |
-
col1.download_button(
|
88 |
label="Transkript herunterladen",
|
89 |
data=transcription["text"],
|
90 |
file_name="transkript.txt",
|
91 |
mime="text/plain",
|
92 |
)
|
93 |
|
94 |
-
|
95 |
label="OTR-Datei herunterladen",
|
96 |
data=json.dumps(transcription["otr"], indent=2, ensure_ascii=False),
|
97 |
file_name="transkript.otr",
|
|
|
83 |
with st.spinner("Transkription läuft..."):
|
84 |
transcription = transcribe(url, audio_b64, cutoff)
|
85 |
|
86 |
+
st.download_button(
|
|
|
87 |
label="Transkript herunterladen",
|
88 |
data=transcription["text"],
|
89 |
file_name="transkript.txt",
|
90 |
mime="text/plain",
|
91 |
)
|
92 |
|
93 |
+
st.download_button(
|
94 |
label="OTR-Datei herunterladen",
|
95 |
data=json.dumps(transcription["otr"], indent=2, ensure_ascii=False),
|
96 |
file_name="transkript.otr",
|