Repositories (1)

LLM_Buttplug
4 snippets stored for this repo
Python IconPython
import asyncio, websockets, json, logging, sys 
from buttplug import Client, WebsocketConnector, ProtocolSpec
Python IconPython
Function to control all device on duration, intensity, oscillation and rotation
        :param device: buttplug Device object
        :param duration: Duration of the command in ms
Python IconPython
params = {
    "display_name": "LLM Buttplug",
    "is_tab": False,
Python IconPython
with gr.Column(min_width=100):
                    checkbox_trigger_word = gr.Checkbox(label="Enable Buttplug and trigger_word", value=params["enable_trigger_word"])
                    textbox_trigger_word = gr.Textbox(label="Trigger word", value=params['trigger_word'], visible=params["enable_trigger_word"])