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

[testing] use this HF file #1092

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

[testing] use this HF file #1092

wants to merge 2 commits into from

Conversation

rossdanlm
Copy link
Contributor

@rossdanlm rossdanlm commented Jan 31, 2024

[testing] use this HF file

For Yuhin at NextEra


Stack created with Sapling. Best reviewed with ReviewStack.

Rossdan Craig rossdan@lastmileai.dev added 2 commits January 31, 2024 14:00
I changed the model parser path, this now works for the `huggingface.aiconfig.json` with VSCode extension

## Test Plan

To edit from local editor, do this:

Go to `aiconfig/python/src/aiconfig/editor/client` and run this command:
```
rm -rf node_modules && yarn && yarn build
```

Then go to `aiconfig` dir and run this command:
```
aiconfig_path=./cookbooks/Gradio/huggingface.aiconfig.json
parsers_path=./cookbooks/Gradio/aiconfig_model_registry.py
aiconfig edit --aiconfig-path=$aiconfig_path --server-port=8080 --server-mode=debug_servers --parsers-module-path=$parsers_path
```

<img width="1512" alt="Screenshot 2024-01-31 at 13 57 13" src="https://github.com/lastmile-ai/aiconfig/assets/151060367/5ec2a92f-4750-4f2d-b2a1-fc407849a252">
For Yuhin at NextEra
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

Successfully merging this pull request may close these issues.

None yet

1 participant