Spaces:
Sleeping
Sleeping
Commit
•
d01bb5c
1
Parent(s):
ab03346
Update app.py
Browse files
app.py
CHANGED
@@ -44,6 +44,7 @@ def transcribe(audio):
|
|
44 |
|
45 |
def main():
|
46 |
st.title("Translate and Transcribe Audio")
|
|
|
47 |
|
48 |
|
49 |
st.write("The transcribed text will be displayed below.")
|
@@ -66,7 +67,7 @@ def main():
|
|
66 |
# Remove the temporary audio file
|
67 |
os.remove(audio_path)
|
68 |
|
69 |
-
st.subheader("
|
70 |
st.write("Click the 'Start Recording' button to start recording your voice. Press 'Stop Recording' when done.")
|
71 |
|
72 |
audio_bytes = audio_recorder()
|
|
|
44 |
|
45 |
def main():
|
46 |
st.title("Translate and Transcribe Audio")
|
47 |
+
st.subheader("Try by Uploading Audio")
|
48 |
|
49 |
|
50 |
st.write("The transcribed text will be displayed below.")
|
|
|
67 |
# Remove the temporary audio file
|
68 |
os.remove(audio_path)
|
69 |
|
70 |
+
st.subheader("Try by Recording Custom Audio")
|
71 |
st.write("Click the 'Start Recording' button to start recording your voice. Press 'Stop Recording' when done.")
|
72 |
|
73 |
audio_bytes = audio_recorder()
|