File size: 237 Bytes
3e12125
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
import gradio as gr
from gradio_notebook import GradioNotebook

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

demo.queue().launch()