ChatGPT in Houdini at Shelf or Creating Panel Tab (Turkce)

Since for a while, ChatGPT is very popular, I have been using ChatGPT a lot lately so I thought that it would be much cooler if I have that in Houdini. If anybody is interested to have ChatGPT in the Houdini tab, I figured out the code for that and wanted to share it with you guys. Shelf Code: import hou import PySide2 from import QUrl from import QApplication, QWidget, QVBoxLayout from import QWebEngineView app = () if app is None: app = QApplication([]) def create_web_viewer(url): widget = QWidget() layout = QVBoxLayout() (layout) web_view = QWebEngineView() (QUrl(url)) (web_view) return widget url = ““ web_viewer = create_web_viewer(url) (“OpenAI Chat“) (1024, 768)
Back to Top