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-notebook.md
+27-10
Original file line number
Diff line number
Diff line change
@@ -8,13 +8,20 @@ import constants from '@site/core/tabConstants';
8
8
9
9
# Gradio Notebooks
10
10
11
-
[Gradio Notebook](https://huggingface.co/spaces/lastmileai/gradio-notebook-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-notebook-template/blob/main/app.py)!
11
+
[Gradio Notebook](https://huggingface.co/spaces/lastmileai/gradio-notebook-template) is a notebook component for generative AI that offers the fastest way to create a Hugging Face space in [< 10 lines of code](https://huggingface.co/spaces/lastmileai/gradio-notebook-template/blob/main/app.py), and a familiar notebook interface for interacting with any combination of text, image and audio models in a single space.
12
12
13
13
You can:
14
14
15
-
- Use any model (and chain models together!) in a single Space
16
-
- Play around with models in any format (text, audio image)
17
-
- Share Space results with friends
15
+
- Use any combination of text, image, or audio models in a single space, and even chain models together.
16
+
- Experiment with models using a pre-built notebook UI, which is a familiar, intuitive interface for multimodal interaction.
17
+
- Share space outputs with friends via a shareable URL.
18
+
- Download your space config (prompts and model settings) as an aiconfig JSON file, and use it in your application via the [AIConfig SDK](#gradio-notebook-api).
19
+
20
+
## 5-minute Video Tutorial
21
+
22
+
<divalign="center">
23
+
<iframewidth="560"height="315"src="https://www.youtube.com/embed/FlwINB9RmKk?si=j6UeGZhYOpmjA678"title="YouTube video player"frameborder="0"allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"allowfullscreen></iframe>
24
+
</div>
18
25
19
26
## Examples
20
27
@@ -31,12 +38,18 @@ You can:
31
38
32
39
## Start here if you are a ...
33
40
34
-
-[Creator](#for-space-creators)
35
-
-[Viewer](#features)
36
-
-[Gradio Notebook API (for Developers)](#gradio-notebook-api)
41
+
-[Hugging Face Space Creator](#for-space-creators)
Gradio Notebooks are inspired by [Jupyter notebooks](https://jupyter.org/). Each Notebook is made up of prompt cells. The prompt is associated with a model and we run that model’s inference API call whenever the run button is clicked.
@@ -65,7 +78,7 @@ You can set global parameters for your entire notebook. Click on **Global Parame
0 commit comments