Spaces:
Build error
Build error
A newer version of the Streamlit SDK is available: 1.60.0
metadata
title: My Streamlit Space
emoji: 🚀
colorFrom: indigo
colorTo: purple
sdk: streamlit
app_file: app.py
pinned: false
Simple Streamlit demo on Hugging Face Spaces.
Sentiment Analysis App
A clean, production-minded Streamlit app that reads text and returns generic & finance-aware sentiment labels and confidence scores.
Why this project
Market language is different: the same phrase can mean different things in finance compared to casual chat. This app is designed to:
- prioritize clarity (human-readable outputs),
- be resilient in deployment (tips to avoid first-run timeouts),
- and be easy to extend (swap the model, add dashboards).
Quick visual
Project structure
- app.py - main Streamlit application script
- requirements.txt - Python dependencies
- setup.sh - shell script for environment setup
- runtime.txt - runtime configuration (for deployment, e.g. Heroku)
- .devcontainer/ - config for VSCode / dev container setup
- Data/ - datasets, corpora, lexicons etc.
- finance/ - finance-specific modules, models, tools
- notebooks/- Jupyter notebooks used during experimentation / prototyping
Installation & Setup
Below is a typical setup for development and running locally.
Clone the repository
git clone https://github.com/Ani-404/Sentiment-Analysis-App.git cd Sentiment-Analysis-App(Optional) Create & activate a virtual environment
python3 -m venv venv source venv/bin/activateInstall dependencies
pip install -r requirements.txtRun the application locally
streamlit run app.py
