Yuichiro Tachibana (Tsuchiya)

Results 356 comments of Yuichiro Tachibana (Tsuchiya)

I want this async support too to use `write_stream` on [stlite](https://github.com/whitphx/stlite) because blocking code doesn't work on it.

@jtpio Thank you for the great suggestion! > it looks like the Web Worker current relies on Pyodide Yes, currently stlite is relies on Pyodide and it's hardcoded, and as...

* Is `render=False` necessary? * Should examples be provided?

Should add the `examples` as well? It looks too much and harder to maintain, but it contributes to user's convenience.

@abidlabs It's the problem #8067 solved. Now I merged the fix to this PR so it should work(, while you have to delete the indent inside the `` tag as...

@abidlabs Thank you for the review! > (1) Could we display the name of the model that is being used instead of the task? Will take a look 👍 >...

> But numpy is already a dependency of gradio so why does it need to be installed? And why do we need scipy if its not used in the gradio...

`scipy` is only needed by the audio reader and I don't want to install it in all env. > unrelated but it would be great to include [internal link](https://huggingface.slack.com/archives/C055NMB0S87/p1714360971560649?thread_ts=1713972689.960239&channel=C055NMB0S87&message_ts=1714360971.560649) this...

Ah, it should be included as an extra dep like `transformers_js_py[audio]`. Will do it.

* Now this code should work. ```python import gradio as gr from transformers_js_py import pipeline pipe = await pipeline("feature-extraction") demo = gr.Interface.from_pipeline(pipe) if __name__ == "__main__": demo.launch() ``` * For...