Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,8 @@
|
|
| 1 |
import gradio as gr
|
|
|
|
| 2 |
|
| 3 |
-
|
| 4 |
-
|
|
|
|
| 5 |
|
| 6 |
-
|
| 7 |
-
iface.launch()
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
+
from gradio_gradioworkbook import GradioWorkbook
|
| 3 |
|
| 4 |
+
AICONFIG_FILE_PATH = "./example_aiconfig.json" #Can also be empty or None!
|
| 5 |
+
with gr.Blocks() as demo:
|
| 6 |
+
GradioWorkbook(filepath=AICONFIG_FILE_PATH)
|
| 7 |
|
| 8 |
+
demo.queue().launch()
|
|
|