Spaces:
Runtime error
Runtime error
Commit
·
c3105f1
1
Parent(s):
b28ac3b
Update app.py
Browse files
app.py
CHANGED
@@ -13,16 +13,16 @@ st.subheader("Choose a mp3 file that you extracted from the work site")
|
|
13 |
uploaded_file = st.file_uploader("Select file from your directory")
|
14 |
if uploaded_file is not None:
|
15 |
audio_bytes = uploaded_file.read()
|
16 |
-
st.audio(audio_bytes, format='audio/mp3')
|
17 |
|
18 |
|
19 |
-
pipe = pipeline("
|
20 |
-
text = st.text_area('Enter some Text!')
|
21 |
|
22 |
|
23 |
-
summarizer = load_summarizer()
|
24 |
-
st.title("Summarize Text")
|
25 |
-
sentence = st.text_area('Please paste your article :', height=30)
|
26 |
button = st.button("Click")
|
27 |
|
28 |
|
|
|
13 |
uploaded_file = st.file_uploader("Select file from your directory")
|
14 |
if uploaded_file is not None:
|
15 |
audio_bytes = uploaded_file.read()
|
16 |
+
text = st.audio(audio_bytes, format='audio/mp3')
|
17 |
|
18 |
|
19 |
+
pipe = pipeline("automatic-speech-recognition")
|
20 |
+
#text = st.text_area('Enter some Text!')
|
21 |
|
22 |
|
23 |
+
#summarizer = load_summarizer()
|
24 |
+
#st.title("Summarize Text")
|
25 |
+
#sentence = st.text_area('Please paste your article :', height=30)
|
26 |
button = st.button("Click")
|
27 |
|
28 |
|