The Python GPT4All GUI is a sleek, user-friendly desktop application that provides a modern interface for interacting with GPT4All language models.
With its clean and intuitive design, users can easily generate AI responses by typing prompts, customizing system messages, and adjusting parameters like temperature and token length.
The app supports multiple GPT4All models and features real-time response streaming, making it perfect for both casual users and developers who want a straightforward way to interact with local AI models without dealing with command-line interfaces or complex setups.
- 🎯 Clean and intuitive graphical user interface
- 🔄 Real-time response streaming
- ⚙️ Adjustable parameters (temperature, max tokens)
- 🤖 Support for multiple GPT4All models
- 💬 Customizable system messages
- ⏹️ Ability to stop generation mid-way
- 🎨 Modern, system-native look and feel
- Python 3.x
- GPT4All server running locally or on a remote machine
- Required Python packages (see requirements below)
- Clone this repository:
git clone https://github.com/yourusername/Python-GPT4All-Public.git
cd Python-GPT4All-Public
- Install the required packages:
pip install requests python-dotenv tkinter
- Create a
.env
file based on the provided.env-example
:
cp .env-example .env
- Edit the
.env
file with your GPT4All server details:
API_IP=your_server_ip
PORT=your_server_port
- Start the application:
python main.py
-
The GUI will appear with the following features:
- System message input field
- User message input field
- Temperature and max tokens adjustment
- Model selection dropdown
- Generate and Stop buttons
- Response display area
-
Enter your desired system message and user prompt
-
Adjust parameters if needed
-
Click "Generate" to start the response generation
-
Use "Stop" if you want to halt the generation process
- Reasoner v1
- DeepSeek-R1-Distill-Qwen-1.5B
The application uses environment variables for configuration:
API_IP
: The IP address of your GPT4All serverPORT
: The port number of your GPT4All server (default: 4891)
Contributions are welcome! Please feel free to submit a Pull Request.
[Add your license information here]
- Built with GPT4All
- Uses Tkinter for the GUI
- Implements a modern, user-friendly interface