A newer version of the Gradio SDK is available:
6.1.0
metadata
title: GPT
emoji: π
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 5.30.0
app_file: app.py
pinned: false
GPT-1 Text Generator (CPU-Optimized)
A CPU-friendly text generation app for the original GPT model.
Features
- Conversation history tracking
- Custom system prompts
- Session saving/loading
- Advanced generation controls
- Mobile-responsive interface
Requirements
- Python 3.8+
- 18GB RAM (minimum)
- No GPU required
Installation
pip install -r requirements.txtpython app.py
Usage Tips
- Keep prompts under 512 tokens
- Reduce max_new_tokens if experiencing memory issues
- Use repetition_penalty >1.0 to reduce loops