Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,8 @@
|
|
1 |
import gradio as gr
|
|
|
2 |
|
3 |
-
|
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
+
from gradio_notebook import GradioNotebook
|
3 |
|
4 |
+
CONFIG_FILE_PATH = "./config.json" #Can also be empty or None!
|
5 |
+
with gr.Blocks() as demo:
|
6 |
+
GradioNotebook(config_path=CONFIG_FILE_PATH)
|
7 |
+
|
8 |
+
demo.queue().launch()
|