Spaces:
Sleeping
Sleeping
| title: Toy Intelligence | |
| emoji: π | |
| colorFrom: purple | |
| colorTo: green | |
| sdk: gradio | |
| sdk_version: 5.13.2 | |
| app_file: main.py | |
| pinned: false | |
| license: cc-by-sa-4.0 | |
| # Requirements (requirements.txt) | |
| gradio>=4.0.0 | |
| transformers>=4.36.0 | |
| torch>=2.0.0 | |
| protobuf>=4.25.1 | |
| aiohttp>=3.8.0 | |
| python-dateutil>=2.8.2 | |
| sqlite3>=3.35.0 | |
| # Project Structure | |
| ```txt | |
| event_analysis/ | |
| βββ src/ | |
| β βββ __init__.py | |
| β βββ analyzer.py | |
| β βββ ontology.py | |
| β βββ relationships.py | |
| βββ ui/ | |
| β βββ __init__.py | |
| β βββ format.py | |
| β βββ styles.py | |
| βββ templates/ | |
| β βββ results.html | |
| βββ main.py | |
| βββ requirements.txt | |
| ``` | |
| # Installation and Running | |
| ```bash | |
| # Create and activate virtual environment | |
| python -m venv .venv | |
| source .venv/bin/activate # or venv\Scripts\activate on Windows | |
| # Install requirements | |
| pip install -r requirements.txt | |
| # Run the application | |
| python main.py | |
| ``` |