Spaces:
Build error
Build error
AhmedTaha012
commited on
Commit
•
d5864b1
1
Parent(s):
68aa027
Update app.py
Browse files
app.py
CHANGED
@@ -257,10 +257,9 @@ mainTranscript = st.text_area("Enter the transcript:", height=100)
|
|
257 |
doc = nlp(mainTranscript)
|
258 |
sentences = [sent.text for sent in doc.sents]
|
259 |
quarter= st.selectbox('Select your quarter',('1', '2', '3','4'))
|
260 |
-
year = st.selectbox('Select your
|
261 |
if st.button("Analyze"):
|
262 |
transcript=replace_abbreviations(mainTranscript)
|
263 |
-
transcript=replace_abbreviations(transcript)
|
264 |
transcript=removeSpeakers(transcript)
|
265 |
transcript=removeQA(transcript)
|
266 |
transcript=clean_and_preprocess(transcript)
|
|
|
257 |
doc = nlp(mainTranscript)
|
258 |
sentences = [sent.text for sent in doc.sents]
|
259 |
quarter= st.selectbox('Select your quarter',('1', '2', '3','4'))
|
260 |
+
year = st.selectbox('Select your year',tuple([str(x) for x in range(int(datetime.datetime.now().year),1900,-1)]))
|
261 |
if st.button("Analyze"):
|
262 |
transcript=replace_abbreviations(mainTranscript)
|
|
|
263 |
transcript=removeSpeakers(transcript)
|
264 |
transcript=removeQA(transcript)
|
265 |
transcript=clean_and_preprocess(transcript)
|