An Anime Recommendation chatbot using Gradio, huggingface_hub, and the Hugging Face Inference API.
| Type of Model | Model Name (Hugging Face Path) |
|---|---|
| Local Model | Qwen/Qwen3-0.6B |
| Inference Client Model | openai/gpt-oss-20b |
Please download uv (Ultra-Violet) for Python Project Dependency Management: https://docs.astral.sh/uv/getting-started/installation/#installation-methods
Run following commands by navigating to the project directory:
cd /path/to/your/project
uv syncIn the same project directory, execute the following (if virtual env is not already active):
source .venv/bin/activateTo add any new dependencies (libraries):
uv add <library_name>ssh -i ssh_keys/group02_key -p 22000 group02@paffenroth-23.dyn.wpi.edu- Frontend (ngrok): https://misty-subpalmate-liza.ngrok-free.dev/
- Grafana (ngrok): https://misty-subpalmate-liza.ngrok-free.dev/grafana
For Using Online Model:
curl --location 'http://paffenroth-23.dyn.wpi.edu:22021/anizenith/chat' \
--header 'Content-Type: application/json' \
--data '{
"messages": [
{
"role": "user",
"content": "Give me action based anime"
}
],
"use_local": false
}'For Using Local Model:
curl --location 'http://paffenroth-23.dyn.wpi.edu:22021/anizenith/chat' \
--header 'Content-Type: application/json' \
--data '{
"messages": [
{
"role": "user",
"content": "Give me action based anime"
}
],
"use_local": true
}'