Spaces:
Running
Running
| title: Rsvp Server | |
| emoji: π | |
| colorFrom: gray | |
| colorTo: blue | |
| sdk: docker | |
| pinned: false | |
| license: mit | |
| Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference | |
| # RSVP Server | |
| A Flask API server that provides natural language processing capabilities for RSVP applications. | |
| ## Features | |
| - POS (Part of Speech) tagging | |
| - Named Entity Recognition | |
| - Token grouping for RSVP reading | |
| ## Deployment on Hugging Face Spaces | |
| This application is designed to be deployed on Hugging Face Spaces: | |
| 1. Create a new Space on Hugging Face | |
| 2. Choose "Docker" as the template | |
| 3. Upload all files to the repository | |
| 4. The Dockerfile will handle the setup and dependencies | |
| 5. The application will be deployed using Uvicorn, a high-performance ASGI server | |
| ## API Endpoints | |
| ### Health Check | |
| ``` | |
| GET /health | |
| ``` | |
| ### POS Tagging | |
| ``` | |
| POST /pos-tag | |
| Content-Type: application/json | |
| { | |
| "text": "Your text to analyze" | |
| } | |
| ``` | |
| ## Local Development | |
| Build and run the Docker container: | |
| ```bash | |
| docker build -t rsvp-server . | |
| docker run -p 5000:5000 rsvp-server | |
| ``` | |