-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
urgent: together.ai api key incompatible with new code base updates #183
Comments
create a section in
|
This shouldnt work because the together api is supposed to be compatible with openai structure so you just put the together api in place of the open ai key, while changing the base model in the parameters.yaml and the gpt model name from together.ai. this is how it worked in previous version: parameter.yaml : ai_model: together model line 72 - ai_model: ' together model ' |
Transcribe configuration is very flexible. There are several ways to achieve the desired behavior of using Together AI. They way described in the previous comment is accurate
The underlying issue is that Together AI does not support the way we use to validate the API key. This was a recent change. |
ok thanks for the validation of the issue. Thank you! |
Issue should be resolved now |
Resolved by new updates nice work thanks. sorry I couldn't fix it myself. |
Seems like this repo is serving some purpose to some extent. |
To reproduce the error, download the repo today and try to use together.ai as the llm. it will not work. this is due to recent changes made to the code. prior there was a loophole to use the openai key in the yaml as the api key (as together ai is meant to work).
like it goes ... open ai : 'together api key' but that doesnt work now.
I tried 100 ways. not a developer so I cant edit the main code successfully besides the variables. it seems like a structural issue a small change maybe.
Original error message:
[INFO] Speech To Text - Whisper using GPU: True
Traceback (most recent call last):
File "C:\Users\transcribeUpdated\app\transcribe\main.py", line 125, in
main()
File "C:\Users\transcribeUpdated\app\transcribe\main.py", line 68, in main
ui_components = ui.create_ui_components(root, config=config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\transcribeUpdated\app\transcribe\ui.py", line 494, in create_ui_components
if not utilities.is_api_key_valid(api_key=api_key, base_url=base_url):
^^^^^^^
UnboundLocalError: cannot access local variable 'api_key' where it is not associated with a value
The text was updated successfully, but these errors were encountered: