Skip to content
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

Keyerror: 'mode' when trying to run bash scripts/app.sh to deploy the gradio app #70

Open
vardhanam opened this issue Dec 8, 2023 · 1 comment

Comments

@vardhanam
Copy link

Screenshot 2023-12-08 162336

There's seems to be a bug in the init.py file referred in the image above at config/init.py

it should be stage_configuration = load_model_config(args['stage'], args['model']) and not stage_configuration = load_model_config(args['stage'], args['mode']).

Once you do that you'll be able to launch the app

@kqcode
Copy link

kqcode commented Apr 15, 2024

@vardhanam I think you can solve this problem by replacing 'mode' with 'model'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants