Recent content by the living tribunal

  1. the living tribunal

    Method completion

    class MyClass: def first_method(self): pass def second_method(self): pass my_attribute = "Hello" def __dir__(self): return sorted(set(super().__dir__() + ['first_method', 'second_method'])) # Preserve default behavior obj = MyClass() print(dir(obj)) # Methods appear...
  2. the living tribunal

    Method completion

    class MyClass: def first_method(self): pass def second_method(self): pass def __dir__(self): return ['first_method', 'second_method'] # Custom order obj = MyClass() print(dir(obj)) # ['first_method', 'second_method'] @fukurou
  3. the living tribunal

    [MEDIA]

  4. the living tribunal

    Stt speed up idea

    @fukurou
  5. the living tribunal

    Stt speed up idea

    Brain.tl post result This skipping the think wait
  6. the living tribunal

    Zgc robot forum 2025

  7. the living tribunal

    [MEDIA]

  8. the living tribunal

    new STT code

    It will need a busy flag to prevent listening while already listening
  9. the living tribunal

    new STT code

    import whisper import pyaudio import numpy as np import re import atexit from threading import Event # Audio Settings CHUNK = 1024 FORMAT = pyaudio.paInt16 CHANNELS = 1 RATE = 16000 MIN_ACTIVE_SECONDS = 0.5 # Minimum speech duration to process exit_event = Event() # Initialize PyAudio...
  10. the living tribunal

    new STT code

    With atexit cleanup import whisper import pyaudio import numpy as np import re import atexit from threading import Event # Audio Settings CHUNK = 1024 FORMAT = pyaudio.paInt16 CHANNELS = 1 RATE = 16000 MIN_ACTIVE_SECONDS = 0.5 # Minimum speech duration to process exit_event = Event() #...
  11. the living tribunal

    [MEDIA]

  12. the living tribunal

    Locally run LLM in python

    🚀 Step 1: Install Dependencies Open a terminal and run: pip install transformers torch sentencepiece (This installs the necessary libraries to run an LLM.) 📥 Step 2: Download the Model Without Git 1. Go to Hugging Face and search for a model like Llama 3, GPT-J, or Mistral. 2. Click on the...
  13. the living tribunal

    [MEDIA]

  14. the living tribunal

    👨‍💻 dev sensory skills

    my_string = "" if bool(my_string): # Efficient and concise print("The string is not empty.") else: print("The string is empty.")
Top