Skip to content

Commit

Permalink
[docs] Actually push the changes from the PR feedback (#1239)
Browse files Browse the repository at this point in the history
# [docs] Actually push the changes from the PR feedback

![Screenshot 2024-02-13 at 11 56 14
PM](https://github.com/lastmile-ai/aiconfig/assets/5060851/a9bd7a13-2082-482a-b32d-ed88e2592584)

Accidentally missed pushing this minor change before merging #1238
  • Loading branch information
rholinshead authored Feb 14, 2024
2 parents b9c267e + a9ca798 commit a03de4b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions aiconfig-docs/docs/gradio-notebook.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import constants from '@site/core/tabConstants';

You can:

- Use any model, and a combination of models, in a single space
- Use any model, and a combination of models, in a single Space
- Play around with models in any format (text, audio image) and ordering
- Share Space output results with friends

Expand All @@ -33,12 +33,12 @@ You can:
- [requirements.txt](https://huggingface.co/spaces/lastmileai/gradio-notebook-template/blob/main/requirements.txt)

:::caution
Please ensure the `sdk_version` in your Space's `README.md` is set to `sdk_version: 4.16.0` or lower due to compatibilty issues in higher `gradio` package versions
Please ensure the `sdk_version` in your Space's `README.md` is set to `sdk_version: 4.16.0` or lower due to compatibilty issues in higher `gradio` package versions. See https://huggingface.co/spaces/lastmileai/gradio-notebook-template/blob/main/README.md for example.
:::

### 2. Design your Space

Use the playground UI in your space to setup your models and prompts that you want on your space.
Use the playground UI in your Space to setup your models and prompts that you want on your Space.

- **Add a new cell with '+'.** Gradio Notebooks are made up cells. Each cell allows you to prompt a specific model.
- **Select the model for your cell.** First, choose the [Hugging Face Task](#supported-models) for this cell. Then, click on the Cell Settings panel to select a model for that task. The model needs to available on the [Hugging Face Inference API](https://huggingface.co/docs/api-inference/index) - check the model card on Hugging Face.
Expand Down Expand Up @@ -166,7 +166,7 @@ Using local models will download the models to your Space, using up Space resour
:::

These local parsers can be used by adding them to the `ModelParserRegistry` for your Space. To do so:
- add a `model_parsers.py` file in your space repo
- add a `model_parsers.py` file in your Space repo
- in the file, import the relevant model parser from `aiconfig_extension_hugging_face`
- register the model parser in a `register_model_parsers` function

Expand Down

0 comments on commit a03de4b

Please sign in to comment.