Cripple-Lee/Personal-Assistant-Client
Personal Assistant Client
This is the client interface for the Personal Assistant application.
Connecting to the Hugging Face Space Server
The client is configured to connect to the Hugging Face Space server by default:
https://huggingface.co/spaces/Cripple-Lee/Personal-Assistant-ServerEnvironment Configuration
The API endpoint can be configured using the VITE_API_BASE environment variable. To use a different endpoint:
- Create a
.envfile in the client directory - Add the following line with your desired endpoint:
VITE_API_BASE=https://your-custom-endpoint.comRunning the Client
- Install dependencies:
npm install- Start the development server:
npm run devThe client will automatically connect to the Hugging Face Space server.
React + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
React Compiler
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.
Expanding the ESLint configuration
If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the TS template for information on how to integrate TypeScript and `typescript-eslint` in your project.
