nickil commited on
Commit
e4343d1
β€’
1 Parent(s): b6fd65c

Change layout

Browse files
Files changed (2) hide show
  1. app.py +11 -8
  2. config.json +1 -1
app.py CHANGED
@@ -15,12 +15,15 @@ from network import analysis
15
  with gr.Blocks() as demo:
16
  # with gr.Tab("πŸ“ About"):
17
  # # gr.Markdown(ABOUT_TEXT)
18
- with gr.Tab("πŸ“Š Dashboard"):
19
- gr.Label("Visually explore witches family data")
20
- gr.Markdown("You can use drag-and-drop operations to explore the data, start your analysis now!")
21
- pyg_app = get_html_on_gradio(df, spec="./config.json")
22
- gr.HTML(pyg_app)
23
- with gr.Tab("πŸ‘ͺ Family Connection"):
24
- gr.HTML(analysis)
 
 
 
25
 
26
- demo.launch(app_kwargs={"routes": [PYGWALKER_ROUTE]}).queue()
 
15
  with gr.Blocks() as demo:
16
  # with gr.Tab("πŸ“ About"):
17
  # # gr.Markdown(ABOUT_TEXT)
18
+ with gr.Row():
19
+ with gr.Column():
20
+ gr.Label("πŸ“Š Visually explore witches family data")
21
+ gr.Markdown("You can use drag-and-drop operations to explore the data, start your analysis now!")
22
+ pyg_app = get_html_on_gradio(df, spec="./config.json")
23
+ gr.HTML(pyg_app)
24
+ with gr.Row():
25
+ with gr.Column():
26
+ gr.Label("πŸ‘ͺ Visualize witches family connections")
27
+ gr.HTML(analysis)
28
 
29
+ demo.launch(app_kwargs={"routes": [PYGWALKER_ROUTE]}, share=True).queue()
config.json CHANGED
@@ -270,7 +270,7 @@
270
  "zeroScale": true,
271
  "size": {
272
  "mode": "auto",
273
- "width": 1000,
274
  "height": 800
275
  },
276
  "format": {},
 
270
  "zeroScale": true,
271
  "size": {
272
  "mode": "auto",
273
+ "width": 1200,
274
  "height": 800
275
  },
276
  "format": {},