Spaces:
Sleeping
Sleeping
metadata
title: CoolShot AI Backend
emoji: π
colorFrom: purple
colorTo: blue
sdk: docker
app_port: 7860
app_file: api.py
pinned: false
Cool-Shot-Systems-AI-Agent
A premium Local AI Assistant that runs entirely on your machine, featuring a modern, animated UI.
π Features
- π¬ Intelligent Chat: Powered by Microsoft's Phi-3 Mini, capable of reasoning and conversation.
- π¨ Image Generation: Create stunning visuals in seconds using SDXL Turbo.
- β¨ Modern UI: Built with React, Tailwind CSS, and Framer Motion for a smooth, glassmorphism experience.
- π 100% Local: No data leaves your computer. No API keys required.
π οΈ Prerequisites
- Python 3.10+
- Node.js 18+
- Git
- (Recommended) NVIDIA GPU with 8GB+ VRAM for faster generation.
β‘ Quick Start
Clone the repository:
git clone https://github.com/rayben445/Cool-Shot-Systems-AI-Agent.git cd Cool-Shot-Systems-AI-AgentRun the One-Click Installer: Double-click
start_app.baton Windows.Or run manually:
# Backend cd local_ai_assistant pip install -r requirements.txt python api.py # Frontend cd frontend npm install npm run dev
ποΈ Tech Stack
- Backend: Python, FastAPI, PyTorch, Transformers, Diffusers
- Frontend: React, Vite, Tailwind CSS, Framer Motion, Lucide React
π Deployment
Deploy to Vercel
The frontend can be easily deployed to Vercel for free! See the detailed deployment guide:
Quick steps:
- Fork/clone this repository
- Sign up at Vercel
- Import your repository
- Set root directory to
frontend - Add environment variable:
VITE_API_URLwith your backend URL - Deploy!
Backend Deployment
The backend can be deployed to:
- Hugging Face Spaces (current deployment)
- Railway
- Render
- Google Cloud Run / AWS / Azure
See VERCEL_DEPLOYMENT.md for detailed backend deployment options.
π License
This project is licensed under the MIT License - see the LICENSE file for details.