File size: 241 Bytes
fe33ea1
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
import gradio as gr
from gradio_notebook import GradioNotebook

AICONFIG_FILE_PATH = "./example_aiconfig.json"  # Can also be empty or None!
with gr.Blocks() as demo:
    GradioNotebook(config_path=AICONFIG_FILE_PATH)

demo.queue().launch()