File size: 1,097 Bytes
dd40489
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---

title: Ethics Review Classifier
emoji: 📋
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 4.44.0
app_file: app.py
pinned: false
license: mit
---


# Ethics Review Classifier

An AI model to classify research proposal text against ethics review guidelines.

## Usage

### Web Interface
Use the form above to test the model interactively.

### API Access
This Space provides a free API endpoint:

```python

from gradio_client import Client



client = Client("JohnLicode/ethics-review-classifier")

result = client.predict(

    text="The general objective is to develop an AI system...",

    guideline_id="1.1",

    guideline_name="Objectives",

    api_name="/predict"

)

print(result)

```

### cURL Example
```bash

curl -X POST https://johnlicode-ethics-review-classifier.hf.space/api/predict \

  -H "Content-Type: application/json" \

  -d '{"data": ["Your text here", "1.1", "Objectives"]}'

```

## Labels
- **ADDRESSED**: Text adequately addresses the guideline
- **NEEDS_REVISION**: Text needs improvement or doesn't address the guideline