https://github.com/yjg30737/pyqt-gpt-gui-generator
PyQt GUI generator (only one widget) which is using GPT and QMdiArea to show result immediately
https://github.com/yjg30737/pyqt-gpt-gui-generator
code-generator gpt-gui-generator gui-generator pyqt pyqt-gui pyqt5 pyqt5-desktop-application pyqt5-examples qmdiarea
Last synced: 3 months ago
JSON representation
PyQt GUI generator (only one widget) which is using GPT and QMdiArea to show result immediately
- Host: GitHub
- URL: https://github.com/yjg30737/pyqt-gpt-gui-generator
- Owner: yjg30737
- License: mit
- Created: 2024-02-09T04:30:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-09T05:21:30.000Z (over 1 year ago)
- Last Synced: 2024-12-29T08:42:10.013Z (5 months ago)
- Topics: code-generator, gpt-gui-generator, gui-generator, pyqt, pyqt-gui, pyqt5, pyqt5-desktop-application, pyqt5-examples, qmdiarea
- Language: Python
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pyqt-gpt-gui-generator
PyQt GUI generator (only one widget) which is using GPT and QMdiArea to show result immediately## Requirements
* PyQt5 >= 5.14
* openai## How to Use
1. git clone ~
2. pip install -r requirements.txt
3. python main.py
4. Register your openai key, write the prompt, press the button. The time that spent depends on what you wrote in the prompt. After processing is finished, result will be shown in the QMdiArea.## Preview
## Note
* You can find `result.py` to get the whole source generated by GPT.
* This is using json mode to only get the source itself, that's how this magic works.
* Only one widget at a time. You can make application out of this.
* In `script.py` file:
* PROMPT - I made this sublime prompt thanks for Prompt Wizard GPTs.
* GPTJsonWrapper - for managing json mode GPT response easily. This is used my other GPT related projects as well, which is really easy to use (for me, at least)## Purpose
This is one idea popped in my head that generates GUI on instance by GPT. I make the PyQt version of it.