Update app.py
Browse files
app.py
CHANGED
@@ -23,6 +23,17 @@ st.set_page_config(
|
|
23 |
st.sidebar.header("Home")
|
24 |
st.markdown("## Earnings Call Analysis Whisperer")
|
25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
auth_token = os.environ.get("auth_token")
|
27 |
|
28 |
progress_bar = st.sidebar.progress(0)
|
@@ -67,7 +78,7 @@ def sentiment_pipe(earnings_text):
|
|
67 |
|
68 |
return earnings_sentiment
|
69 |
|
70 |
-
|
71 |
def preprocess_plain_text(text,window_size=3):
|
72 |
'''Preprocess text for semantic search'''
|
73 |
|
|
|
23 |
st.sidebar.header("Home")
|
24 |
st.markdown("## Earnings Call Analysis Whisperer")
|
25 |
|
26 |
+
st.markdown(
|
27 |
+
"""
|
28 |
+
This app assists finance analysts with transcribing and analysis Earnings Calls by carrying out the following tasks:
|
29 |
+
- Transcribing earnings calls using Open AI's Whisper.
|
30 |
+
- Analysing the sentiment of transcribed text using the quantized version of [FinBert-Tone](https://huggingface.co/nickmuchi/quantized-optimum-finbert-tone).
|
31 |
+
- Semantic search engine with [Sentence-Transformers](https://huggingface.co/sentence-transformers/all-mpnet-base-v2) and reranking results with a Cross-Encoder.
|
32 |
+
|
33 |
+
**π Navigate sequentially to the tabs on the sidebar**
|
34 |
+
"""
|
35 |
+
)
|
36 |
+
|
37 |
auth_token = os.environ.get("auth_token")
|
38 |
|
39 |
progress_bar = st.sidebar.progress(0)
|
|
|
78 |
|
79 |
return earnings_sentiment
|
80 |
|
81 |
+
@st.experimental_memo(suppress_st_warning=True)
|
82 |
def preprocess_plain_text(text,window_size=3):
|
83 |
'''Preprocess text for semantic search'''
|
84 |
|