File size: 1,412 Bytes
114d2c6
5c08e0a
 
 
 
 
 
 
 
114d2c6
 
5c08e0a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
---

title: ORCA360 Speaker Diarization
emoji: 🎙️
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 4.44.0
app_file: app.py
pinned: false
license: apache-2.0
---


# ORCA360 Speaker Diarization API

This Space provides speaker diarization capabilities for the ORCA360 automated assessment platform.

## Features

- 🎤 Speaker identification in audio recordings
- ⏱️ Timestamp-based speaker segmentation  
- 🔢 Configurable min/max number of speakers
- 🚀 GPU-accelerated processing
- 📡 API access available

## Usage

### Web Interface

1. Upload an audio file (WAV, MP3, M4A)
2. Optionally specify min/max speakers
3. Click "Diarize"
4. View results with speaker segments and timestamps

### API Access

```python

from gradio_client import Client



client = Client("Edwardx001/ragasa-diarization")

result = client.predict(

    audio_file="path/to/audio.wav",

    min_speakers=None,

    max_speakers=None,

    api_name="/predict"

)

print(result)

```

### cURL Example

```bash

curl -X POST https://edwardx001-ragasa-diarization.hf.space/api/predict \

  -F "data=@audio.wav"

```

## Model

Uses [pyannote/speaker-diarization-3.1](https://huggingface.co/pyannote/speaker-diarization-3.1)

## License

Apache 2.0

## Project

Part of the [ORCA360](https://github.com/Eberger01/Orca360A) aviation training assessment platform.