Glif-Lora-Autocaption / README copy.md
saq1b's picture
initialize project with Vite, React, and essential configurations
eceb7aa

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:
git clone https://github.com/yourusername/glif-lora-autocaption.git
cd glif-lora-autocaption
  1. Install dependencies:
npm install
  1. Start the development server:
npm start
  1. Open your browser and navigate to http://localhost:5173

Building for Production

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