Spaces:
Runtime error
Runtime error
Initial release: CyberSec-API gateway with REST endpoints for 3 cybersecurity models
ecbf601 verified A newer version of the Gradio SDK is available: 6.10.0
metadata
title: CyberSec-API
emoji: 🛡️
colorFrom: red
colorTo: gray
sdk: gradio
sdk_version: 5.50.0
app_file: app.py
pinned: true
license: apache-2.0
tags:
- api
- cybersecurity
- inference
- rest-api
- iso27001
- rgpd
- security
short_description: REST API gateway for CyberSec AI models
CyberSec-API
REST API gateway providing unified access to three specialized cybersecurity AI models:
| Model | Specialty | Size |
|---|---|---|
| ISO27001-Expert | ISO 27001 compliance and ISMS guidance | 1.5B |
| RGPD-Expert | GDPR/RGPD data protection regulation | 1.5B |
| CyberSec-Assistant | General cybersecurity operations | 3B |
API Endpoints
| Method | Endpoint | Description |
|---|---|---|
POST |
/api/chat |
Send a message to a specific model |
POST |
/api/compare |
Compare responses from all 3 models |
GET |
/api/models |
List available models and their status |
GET |
/api/health |
Health check endpoint |
Quick Start
from gradio_client import Client
client = Client("AYI-NEDJIMI/CyberSec-API")
result = client.predict(
message="What is ISO 27001?",
model_name="ISO27001-Expert",
api_name="/chat"
)
print(result)