-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow Gradio cookbook to open with VS Code extension
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">
- Loading branch information
1 parent
e34a1bd
commit 1d7e82d
Showing
5 changed files
with
25 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# AIConfig | ||
python-aiconfig >= 1.1.12 | ||
python-aiconfig >= 1.1.19 | ||
|
||
# Hugging Face Extension for AIConfig | ||
aiconfig-extension-hugging-face >= 0.0.3 | ||
aiconfig-extension-hugging-face >= 0.0.6 |
@rossdanlm why is this needed? It shouldn't be needed since the published aiconfig editor can use the parsers here, right? This build command is specifically for the client js code and unrelated to the extension