JohnLicode's picture
Upload folder using huggingface_hub
dd40489 verified

A newer version of the Gradio SDK is available: 6.4.0

Upgrade
metadata
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:

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

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