Story / README.md
oluinioluwa814's picture
Update README.md
dce7778 verified

A newer version of the Gradio SDK is available: 6.13.0

Upgrade
metadata
title: AI-Ini
emoji: 🐒
colorFrom: gray
colorTo: pink
sdk: gradio
sdk_version: 6.2.0
app_file: app.py
pinned: false
license: apache-2.0

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference 🧠 AI Research Scientist Chatbot (Gemini-powered)

A professional, research-oriented AI chatbot built with Google Gemini and Gradio, designed to support AI research scientists, students, and educators in generating high-quality explanations, research ideas, technical content, and creative narratives.

This project demonstrates best practices in:

Secure API key management (Hugging Face Secrets)

Clean Gradio UI design

Configurable text generation parameters

Deployment-ready architecture for Hugging Face Spaces


πŸš€ Project Overview

The AI Research Scientist Chatbot allows users to input a research prompt or creative query and receive high-quality, context-aware responses generated by Google's Gemini model.

Typical use cases include:

Explaining AI / ML concepts

Drafting research ideas or abstracts

Generating technical explanations

Assisting with educational content

Creative storytelling with controlled parameters

The chatbot is intentionally lightweight, modular, and easy to extend.


🧩 Key Features

βœ… Powered by Google Gemini (gemini-2.5-flash-preview)

βœ… Adjustable generation controls (temperature, top-p, max tokens, seed)

βœ… No button UI β€” generate responses by pressing Enter

βœ… Secure API key handling using environment variables

βœ… Clean, responsive Gradio interface

βœ… Hugging Face Spaces ready


πŸ› οΈ Tech Stack

Component Technology

Language Python 3.10+ UI Framework Gradio AI Model Google Gemini Deployment Hugging Face Spaces API Security Environment Variables


πŸ“‚ Project Structure

β”œβ”€β”€ app.py # Main application code β”œβ”€β”€ README.md # Project documentation β”œβ”€β”€ requirements.txt # Python dependencies


πŸ” API Key Setup (Required)

This project uses Hugging Face Secrets to keep your Gemini API key secure.

Steps:

  1. Go to your Hugging Face Space
  2. Navigate to Settings β†’ Secrets
  3. Add a new secret: Name: `GOOGLE_API_KEY