CoolFace
Apppublic

Cripple-Lee/Personal-Assistant-Client

sourceHugging Faceupdated 1mo agoView on Hugging Face
0likes
App README

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-Server

Environment Configuration

The API endpoint can be configured using the VITE_API_BASE environment variable. To use a different endpoint:

  1. 1.Create a .env file in the client directory
  2. 2.Add the following line with your desired endpoint:
   VITE_API_BASE=https://your-custom-endpoint.com

Running the Client

  1. 1.Install dependencies:
bash
   npm install
  1. 1.Start the development server:
bash
   npm run dev

The 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.