Originally created by @Stargate256 on GitHub (May 14, 2024).
Originally assigned to: @tjbck on GitHub.
Is your feature request related to a problem? Please describe.
Would it be possible to allow running whisper on another server?
Describe the solution you'd like
Adding the ability to connect to whisper via some kind of API.
Additional context
I am running open-webui on a server without GPUs, and LLMs, TTS on another server.
Originally created by @Stargate256 on GitHub (May 14, 2024).
Originally assigned to: @tjbck on GitHub.
**Is your feature request related to a problem? Please describe.**
Would it be possible to allow running whisper on another server?
**Describe the solution you'd like**
Adding the ability to connect to whisper via some kind of API.
**Additional context**
I am running open-webui on a server without GPUs, and LLMs, TTS on another server.
I've recently developed faster-whisper-server which provides an OpenAI compatible transcription/translation (and some extras as well) which could be used as a transcription backend if OpenWebUI adds support for having an external STT
@fedirz commented on GitHub (May 27, 2024):
I've recently developed [faster-whisper-server](https://github.com/fedirz/faster-whisper-server) which provides an OpenAI compatible transcription/translation (and some extras as well) which could be used as a transcription backend if OpenWebUI adds support for having an external STT
STT & TTS settings have been refactored on dev and you can now configure external OpenAI STT from Admin Settings!
@tjbck commented on GitHub (Jun 8, 2024):
@colaber2
STT & TTS settings have been refactored on dev and you can now configure external OpenAI STT from Admin Settings!


@bannert1337 commented on GitHub (Jun 8, 2024):
I tried this and the model name for STT is not correctly used.

```
ValueError: Invalid model size 'whisper-1', expected one of: tiny.en, tiny, base.en, base, small.en, small, medium.en, medium, large-v1, large-v2, large-v3, large, distil-large-v2, distil-medium.en, distil-small.en, distil-large-v3
```
STT & TTS settings have been refactored on dev and you can now configure external OpenAI STT from Admin Settings!
Amazing.. well done!!
@colaber2 commented on GitHub (Jun 10, 2024):
> @colaber2
>
> STT & TTS settings have been refactored on dev and you can now configure external OpenAI STT from Admin Settings!
>
> 
>
> 
Amazing.. well done!!
@tjbck The model name is being ignored. As a result we can't use @fedirz's faster-whisper-server because it doesn't know what "whisper-1" is.
I modified faster-whisper-server to treat "whisper-1" as the default model and it worked great! @fedirz, maybe this is a good feature you could add? @tjbck, could you make the fix so we can choose the models?
Thank you both for your work!
@JohnSmithToYou commented on GitHub (Jun 12, 2024):
> I tried this and the model name for STT is not correctly used. 
>
> ```
> ValueError: Invalid model size 'whisper-1', expected one of: tiny.en, tiny, base.en, base, small.en, small, medium.en, medium, large-v1, large-v2, large-v3, large, distil-large-v2, distil-medium.en, distil-small.en, distil-large-v3
> ```
@tjbck The model name is being ignored. As a result we can't use @fedirz's [faster-whisper-server](https://github.com/fedirz/faster-whisper-server) because it doesn't know what "whisper-1" is.
I modified faster-whisper-server to treat "whisper-1" as the default model and it worked great! @fedirz, maybe this is a good feature you could add? @tjbck, could you make the fix so we can choose the models?
Thank you both for your work!
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @Stargate256 on GitHub (May 14, 2024).
Originally assigned to: @tjbck on GitHub.
Is your feature request related to a problem? Please describe.
Would it be possible to allow running whisper on another server?
Describe the solution you'd like
Adding the ability to connect to whisper via some kind of API.
Additional context
I am running open-webui on a server without GPUs, and LLMs, TTS on another server.
@fedirz commented on GitHub (May 27, 2024):
I've recently developed faster-whisper-server which provides an OpenAI compatible transcription/translation (and some extras as well) which could be used as a transcription backend if OpenWebUI adds support for having an external STT
@tjbck commented on GitHub (Jun 8, 2024):
@colaber2
STT & TTS settings have been refactored on dev and you can now configure external OpenAI STT from Admin Settings!
@bannert1337 commented on GitHub (Jun 8, 2024):
I tried this and the model name for STT is not correctly used.

@colaber2 commented on GitHub (Jun 10, 2024):
Amazing.. well done!!
@JohnSmithToYou commented on GitHub (Jun 12, 2024):
@tjbck The model name is being ignored. As a result we can't use @fedirz's faster-whisper-server because it doesn't know what "whisper-1" is.
I modified faster-whisper-server to treat "whisper-1" as the default model and it worked great! @fedirz, maybe this is a good feature you could add? @tjbck, could you make the fix so we can choose the models?
Thank you both for your work!
@fedirz commented on GitHub (Jun 12, 2024):
@JohnSmithToYou yeah, I'll add special handling for
whisper-1