toy-intelligence / README.md
dwb2023's picture
Update README.md
fa03eb1 verified
---
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
```