Skip to content

Commit 9b2d20d

Browse files
authored
Update gradio-workbook.md (#1113)
2 parents 43d2e03 + 935e256 commit 9b2d20d

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

aiconfig-docs/docs/gradio-workbook.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,12 @@ import constants from '@site/core/tabConstants';
88

99
# Gradio Workbooks
1010

11-
**[Gradio Workbooks](https://huggingface.co/spaces/lastmileai/gradio-workbook-template) provide an out-of-the-box playground for creating Hugging Face Spaces.**
11+
[Gradio Workbooks](https://huggingface.co/spaces/lastmileai/gradio-workbook-template) is a Gradio custom component that creates a notebook playground on Hugging Face Spaces with only [8-lines of code](https://huggingface.co/spaces/lastmileai/gradio-workbook-template/blob/main/app.py)!
1212

13-
The playground provides instant model selection, chaining of models, and templates - no setup or code required!
13+
You can:
14+
* Use any model, and a combination of models, in a single space
15+
* Play around with models in any format (text, audio image) and ordering
16+
* Share Space output results with friends
1417

1518
<div align="center">
1619
<picture>
@@ -19,9 +22,6 @@ The playground provides instant model selection, chaining of models, and templat
1922
</div>
2023
<br/>
2124

22-
1. **Build apps inspired by Spaces**. Gradio Workbook Spaces are backed by an `aiconfig.json` file that stores prompts and model settings. Click **Download** to get the `aiconfig.json` file for your Space. Use the `aiconfig.json` in your application code with the [AIConfig SDK](https://github.com/lastmile-ai/aiconfig).
23-
2. **Share read-only views of Spaces**. You can now share your workflow, prompts, and outputs, even as a Space viewer. Check out this [Space](https://huggingface.co/spaces/lastmileai/music_generator) and it's [read-only view](https://lastmileai.dev/aiconfig/cls2n2jpk00pnpe1n5xx8uub2)! Make edits to the Space and click **Share Workbook** to get a read-only view of your own.
24-
2525
## Quickstart
2626

2727
### 1. Create a new Space with Gradio Workbooks
@@ -32,6 +32,7 @@ The playground provides instant model selection, chaining of models, and templat
3232
- [requirements.txt](https://huggingface.co/spaces/lastmileai/gradio-workbook-template/blob/main/requirements.txt)
3333

3434
### 2. Design your Space
35+
Use the playground UI in your space to setup your models and prompts that you want on your space.
3536

3637
- **Add a new cell with '+'.** Gradio Workbooks are made up cells. Each cell allows you to prompt a specific model.
3738
- **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.

0 commit comments

Comments
 (0)