Spaces:
Running
Running
File size: 948 Bytes
cfbcea8 a03066c cfbcea8 c3af845 fa03eb1 c3af845 fa03eb1 c3af845 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
---
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
``` |