updated code
Browse files- App/app.py +14 -1
App/app.py
CHANGED
|
@@ -220,4 +220,17 @@ def render_financial_analyzer():
|
|
| 220 |
st.subheader("Top 10 Most Predictive Features")
|
| 221 |
st.bar_chart(model_results['feature_importance'].head(10))
|
| 222 |
|
| 223 |
-
# Page 3: About Page
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 220 |
st.subheader("Top 10 Most Predictive Features")
|
| 221 |
st.bar_chart(model_results['feature_importance'].head(10))
|
| 222 |
|
| 223 |
+
# Page 3: About Page
|
| 224 |
+
|
| 225 |
+
def render_about_page():
|
| 226 |
+
st.header("About SentText")
|
| 227 |
+
st.markdown("""
|
| 228 |
+
This application contains two distinct analysis tools.
|
| 229 |
+
|
| 230 |
+
**Emotion Analyzer:** A general-purpose tool that classifies any text into one of eight granular emotions. It is powered by a fine-tuned DistilBERT model, ideal for understanding the emotional tone of reviews, social media posts, or personal messages.
|
| 231 |
+
|
| 232 |
+
**Financial Analysis:** A specialized tool designed to analyze the sentiment of corporate earnings calls and test its correlation with stock price performance. It uses a FinBERT model, fine-tuned for emotion analysis, to extract nuanced sentiment features from both the prepared remarks and the analyst Q&A sections of a transcript. An XGBoost model then attempts to predict post-earnings stock returns based on these advanced linguistic features.
|
| 233 |
+
""")
|
| 234 |
+
|
| 235 |
+
if __name__ == '__main__':
|
| 236 |
+
main()
|