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
- Clone the repository:
git clone https://github.com/yourusername/glif-lora-autocaption.git
cd glif-lora-autocaption
- Install dependencies:
npm install
- Start the development server:
npm start
- Open your browser and navigate to
http://localhost:5173
Building for Production
npm run build
Usage
- Enter your Glif API key in the secure input field
- Click "Upload Images" to select one or more images
- Click "Process Images" to generate captions
- View the results as they are completed
Deployment to Huggingface Spaces
This project includes a Dockerfile configured for Huggingface Spaces.
- Create a new Space on Huggingface
- Choose Docker as the SDK
- Upload the project files
- 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