cati commited on
Commit
97ed172
1 Parent(s): 994439e
Files changed (2) hide show
  1. README.md +1 -1
  2. app.py +7 -12
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: 📊
4
  colorFrom: gray
5
  colorTo: green
6
  sdk: gradio
7
- sdk_version: 3.17.0
8
  app_file: app.py
9
  pinned: false
10
  ---
 
4
  colorFrom: gray
5
  colorTo: green
6
  sdk: gradio
7
+ sdk_version: 3.14.0
8
  app_file: app.py
9
  pinned: false
10
  ---
app.py CHANGED
@@ -38,25 +38,20 @@ with bl:
38
  lmenu1 = gr.Dropdown(["L1", "L2","All"],label="Speaker group")
39
  amenu1 = gr.Dropdown(["MFA", "w2v2"],label="Aligner")
40
 
41
- btn1 = gr.Button(value="Update Plot 1 >> ")
42
- with gr.Column():
43
  pl1 = gr.Plot()
44
- btn1.click(manager, [wmenu1, lmenu1, amenu1, btn1], pl1)
45
-
46
-
47
 
48
- with gr.Row():
49
  with gr.Column():
50
  wmenu2 = gr.Dropdown(kws,label="Word")
51
  lmenu2 = gr.Dropdown(["L1", "L2","All"],label="Speaker group")
52
  amenu2 = gr.Dropdown(["MFA", "w2v2"],label="Aligner")
53
 
54
- btn2 = gr.Button(value="Update Plot 2 >> ")
55
- with gr.Column():
56
- with gr.Box():
57
- pl2 = gr.Plot()
58
- btn2.click(manager, [wmenu2, lmenu2, amenu2, btn2], pl2)
59
-
60
 
61
 
62
 
 
38
  lmenu1 = gr.Dropdown(["L1", "L2","All"],label="Speaker group")
39
  amenu1 = gr.Dropdown(["MFA", "w2v2"],label="Aligner")
40
 
41
+ btn1 = gr.Button(value="Update Plot 1")
42
+
43
  pl1 = gr.Plot()
44
+ btn1.click(manager, [wmenu1, lmenu1, amenu1, btn1], pl1)
 
 
45
 
46
+
47
  with gr.Column():
48
  wmenu2 = gr.Dropdown(kws,label="Word")
49
  lmenu2 = gr.Dropdown(["L1", "L2","All"],label="Speaker group")
50
  amenu2 = gr.Dropdown(["MFA", "w2v2"],label="Aligner")
51
 
52
+ btn2 = gr.Button(value="Update Plot 2")
53
+ pl2 = gr.Plot()
54
+ btn2.click(manager, [wmenu2, lmenu2, amenu2, btn2], pl2)
 
 
 
55
 
56
 
57