You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: aiconfig-docs/docs/gradio-workbook.md
+6-5
Original file line number
Diff line number
Diff line change
@@ -8,9 +8,12 @@ import constants from '@site/core/tabConstants';
8
8
9
9
# Gradio Workbooks
10
10
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)!
12
12
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
14
17
15
18
<divalign="center">
16
19
<picture>
@@ -19,9 +22,6 @@ The playground provides instant model selection, chaining of models, and templat
19
22
</div>
20
23
<br/>
21
24
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
-
25
25
## Quickstart
26
26
27
27
### 1. Create a new Space with Gradio Workbooks
@@ -32,6 +32,7 @@ The playground provides instant model selection, chaining of models, and templat
Use the playground UI in your space to setup your models and prompts that you want on your space.
35
36
36
37
-**Add a new cell with '+'.** Gradio Workbooks are made up cells. Each cell allows you to prompt a specific model.
37
38
-**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