Update README.md
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748---title: Grok API Serviceemoji: 🤖colorFrom: bluecolorTo: purplesdk: dockerpinned: falseapp_port: 7860---Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference# Grok API Service这是一个 Grok API 服务,部署在 Hugging Face Spaces 上。## 环境要求- Node.js 18+- Chrome/Chromium## 安装和运行1. 安装依赖:```bashnpm install```2. 设置环境变量:创建 `.env` 文件并设置以下变量:```API_KEY=your_api_keyPORT=7860 (默认)CHROME_PATH=/usr/bin/chromium```3. 运行服务:```bashnpm start```## API 端点服务将在 `http://localhost:7860` 上运行。## Hugging Face Space 部署此服务已配置为在 Hugging Face Space 上运行。使用 Docker 部署,自动处理所有依赖项。123456789101112---title: Grok API Serviceemoji: 🤖colorFrom: bluecolorTo: purplesdk: dockerpinned: falseapp_port: 7860---Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
README.md+12-48