Ben Shaver

Results 17 comments of Ben Shaver

For some reason, this hasn't been fixed yet. For anyone else seeing this issue in the future, you may replace "pytorch" with "torch" in the `requirements.txt` like so: ``` git...

Make sure to add `pyyaml` to the `requirements.txt` as well.

@jmorganca Any updates on this? It is quite hard to tell who the maintainer of this project is.

I don't use poetry but I would be very surprised if it doesn't automatically include `py.typed` in the distribution package.

Heads up, I think you should be able to stand up your own OpenAI-compatible API here: https://llama-cpp-python.readthedocs.io/en/latest/server/#multimodal-models Then this project can point to your self-hosted API instead of OpenAI.

Was cruising for issues with `good-first-issue` and saw this. Took a crack at it, but I still need to make sure it streams to stderr: https://github.com/bpshaver/capa/commit/ac742f7ec8ca663cbdb08a22bb4dbb404793101b

It looks like `yaspin` only writes to `sys.stdout`

Yeah, I read that issue too. At first I was thinking of just disabling the spinner if stdout is not a TTY, but now I see that you want the...

```python import sys from unittest.mock import patch with patch("sys.stdout", sys.stderr): with yaspin(text="spinning"): ``` Something like this accomplishes the job if you're not writing to stdout within the context of the...

https://github.com/pavdmyt/yaspin/pull/235