To get it running:
-
Python: Make sure you have Python installed (preferably Python 3.7+).
-
Required Python libraries:
- openai
- PyQt5
- keyboard
You can install these using pip:
pip install openai PyQt5 keyboard -
LM Studio: Download and install LM Studio from their official website.
-
Local LLM Server:
- Use LM Studio to download the "bartowski/Llama-3.2-1B-Instruct-GGUF" model.
- Start a local server in LM Studio using this model, ensuring it's running on http://localhost:1234.
-
Python Script:
- Save the provided Python code in a .py file (e.g., twitch_simulator.py).
-
Running the Simulator:
- Ensure the LM Studio server is running.
- Run the Python script:
python twitch_simulator.py
-
Usage:
- The simulator will appear as a semi-transparent overlay on the right side of your screen.
- It will generate random Twitch-like comments at intervals.
- Press ESC to close the simulator.