gemini2-5-pro / README.md
mila2030's picture
Create README.md
0ad0cb6 verified

๐ŸŒŸ Gemini 2.5 Pro โ€” API Proxy Model

This repository hosts a Custom Hugging Face Inference Endpoint that connects directly to Google Gemini through the official google-generativeai SDK.


๐Ÿง  Overview

This model is not an open-weight model, but a proxy wrapper around the official Google Gemini API.

It allows developers to deploy a Gemini-powered chatbot on Hugging Face with:

  • Full handler.py control
  • Secure API key injection via Environment Variables
  • Compatible with any frontend (React, Flask, HTML, etc.)
  • Optional CORS for browser-based chatbots

โš™๏ธ How It Works

When deployed, the endpoint:

  1. Receives a POST request (/) with either:
    {"inputs": "Hello Gemini!"}