Ankush-LM commited on
Commit
3e12125
·
verified ·
1 Parent(s): 4b60226

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ from gradio_notebook import GradioNotebook
3
+
4
+ AICONFIG_FILE_PATH = "./my_app.aiconfig.json" #Can also be empty or None!
5
+ with gr.Blocks() as demo:
6
+ GradioNotebook(config_path=AICONFIG_FILE_PATH)
7
+
8
+ demo.queue().launch()