Fiction or Non-Fiction, academic or casual, theory or non-theory, feel free to mention books of any genre and on any topic.

Previous week’s thread.

  • TabularTuxedo@lemmygrad.ml
    link
    fedilink
    arrow-up
    1
    ·
    1 month ago

    Why not WSL?

    1. Open PowerShell in administrator mode by right-clicking and selecting “Run as administrator”
    2. Run wsl --install
    3. Reboot the computer
    4. Go to the Microsoft Store and search for “Ubuntu”
    5. Install Ubuntu
    6. Now you have the Ubuntu distribution of Linux in your computer
    7. Open Ubuntu and set a password
    8. Follow your instructions in Codeberg

    I can’t recall if there’s any set-up besides this, but I think that using WSL is better than rawdogging EXEs in Windows.

    • CriticalResist8@lemmygrad.ml
      link
      fedilink
      arrow-up
      3
      ·
      1 month ago

      That’s actually very smart, for people who aren’t afraid of using WSL. Then you would just sudo apt installthe dependencies (and I assume since it’s an ubuntu subsystem it already has python 3.12), and then run the installer for Linux through WSL:

      curl -fsSL https://codeberg.org/CritBase111/speech-to-text/raw/branch/main/install.sh | bash

      I also heard that your C:\ drive mounts in the WSL through /mnt/c/, so you can pass any audio file to stt by simply specifiying ‘stt transcribe “/mnt/c/Documents/my_video.mp4”’

      but I assume you will have to run stt through the WSL cli from then on?

      • TabularTuxedo@lemmygrad.ml
        link
        fedilink
        arrow-up
        1
        ·
        1 month ago

        Yes it would be the CLI. Thing is that it’s simpler since the Linux filesystem gets exposed in the File Manager (it’s literally a “Linux” tab next to “This computer”)

        So, you can just drag and drop a file from the Videos folder in Windows into Linux and vice-versa.

        So you could drag the video into Linux, run stt transcribe /home/user/my_video.mp4 and then grab it back to Windows Videos folder (or just use the Linux folder since it’s treated as a regular directory by Windows)

        It’s easier for a beginner than messing with mounting and mv. It’s what I do in my work computer whenever I need to do something with yt-dlp.

        It’s very, very convenient. I wonder if WSL is the reason why winget was abandoned