Spaces:
Runtime error
Runtime error
Commit
·
b298d1a
1
Parent(s):
a56cdf9
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,6 @@ def load_summarizer():
|
|
9 |
translate = pipeline("translation", device=0)
|
10 |
return whisper, summarize, senti, nameentity, translate
|
11 |
|
12 |
-
|
13 |
st.subheader("Choose a mp3 file that you extracted from the work site")
|
14 |
uploaded_file = st.file_uploader("Select file from your directory")
|
15 |
if uploaded_file is not None:
|
@@ -18,7 +17,7 @@ if uploaded_file is not None:
|
|
18 |
|
19 |
|
20 |
#pipe = pipeline("sentiment-analysis")
|
21 |
-
text = st.text_area('Enter some Text!')
|
22 |
|
23 |
|
24 |
summarizer = load_summarizer()
|
|
|
9 |
translate = pipeline("translation", device=0)
|
10 |
return whisper, summarize, senti, nameentity, translate
|
11 |
|
|
|
12 |
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:
|
|
|
17 |
|
18 |
|
19 |
#pipe = pipeline("sentiment-analysis")
|
20 |
+
#text = st.text_area('Enter some Text!')
|
21 |
|
22 |
|
23 |
summarizer = load_summarizer()
|