Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
import gradio as gr
|
2 |
from gradio_notebook import GradioNotebook
|
3 |
|
4 |
-
|
5 |
|
6 |
with gr.Blocks() as demo:
|
7 |
-
GradioNotebook()
|
8 |
|
9 |
demo.queue().launch()
|
|
|
1 |
import gradio as gr
|
2 |
from gradio_notebook import GradioNotebook
|
3 |
|
4 |
+
AICONFIG_FILE_PATH = "./my_app.aiconfig.json"
|
5 |
|
6 |
with gr.Blocks() as demo:
|
7 |
+
GradioNotebook(config_path=AICONFIG_FILE_PATH)
|
8 |
|
9 |
demo.queue().launch()
|