fabric icon indicating copy to clipboard operation
fabric copied to clipboard

[Question]: broken pipe

Open iplayfast opened this issue 4 weeks ago • 2 comments

What is your question?

I tried out a sample yt --transcript https://youtu.be/zdbVtZIn9IM | fabric -m llama3:latest -sp extract_wisdom which gave the error

Traceback (most recent call last):
  File "/home/chris/.local/bin/yt", line 8, in <module>
    sys.exit(main_yt())
  File "/home/chris/.local/pipx/venvs/fabric/lib/python3.10/site-packages/installer/client/cli/yt.py", line 148, in main
    main_function(args.url, args)
  File "/home/chris/.local/pipx/venvs/fabric/lib/python3.10/site-packages/installer/client/cli/yt.py", line 113, in main_function
    print(transcript_text.encode('utf-8').decode('unicode-escape'))
BrokenPipeError: [Errno 32] Broken pipe

Investing further I tried yt --transcript https://youtu.be/zdbVtZIn9IM which seemed to work. I then tried yt --transcript https://youtu.be/zdbVtZIn9IM | ollama run llama3 "extract wisdom from this" which also worked. so apparently I'm not using ollama right?

iplayfast avatar Jun 07 '24 17:06 iplayfast