Spaces:
Sleeping
Sleeping
# Glif Lora Autocaption | |
A sleek, minimalist web application to automatically caption your images using the Glif API. | |
## Features | |
- **Private API Key Management**: Enter your Glif API key securely | |
- **Batch Image Processing**: Upload and process multiple images at once | |
- **Real-time Progress Tracking**: See the status of each image as it's processed | |
- **Modern Dark UI**: Clean, minimalist interface inspired by Vercel and Apple designs | |
- **Responsive Design**: Works on mobile and desktop | |
## Getting Started | |
### Prerequisites | |
- Node.js 16+ installed | |
- A Glif API key | |
### Installation | |
1. Clone the repository: | |
```bash | |
git clone https://github.com/yourusername/glif-lora-autocaption.git | |
cd glif-lora-autocaption | |
``` | |
2. Install dependencies: | |
```bash | |
npm install | |
``` | |
3. Start the development server: | |
```bash | |
npm start | |
``` | |
4. Open your browser and navigate to `http://localhost:5173` | |
### Building for Production | |
```bash | |
npm run build | |
``` | |
## Usage | |
1. Enter your Glif API key in the secure input field | |
2. Click "Upload Images" to select one or more images | |
3. Click "Process Images" to generate captions | |
4. View the results as they are completed | |
## Deployment to Huggingface Spaces | |
This project includes a Dockerfile configured for Huggingface Spaces. | |
1. Create a new Space on Huggingface | |
2. Choose Docker as the SDK | |
3. Upload the project files | |
4. The Space will automatically build and deploy the application | |
## Tech Stack | |
- React | |
- Chakra UI | |
- Vite | |
- Axios | |
## License | |
MIT | |
--- | |
*Created with ❤️ for the AI image captioning community* |