Update app.py
Browse files
app.py
CHANGED
@@ -84,12 +84,12 @@ with gr.Blocks() as b:
|
|
84 |
save_file=gr.File()
|
85 |
with gr.Tab("Load Settings"):
|
86 |
load_file=gr.File()
|
87 |
-
with gr.Column(scale=1):
|
88 |
# expbtn1=gr.Button("Example 1").click(exp1,None,[in_txt,load_file])
|
89 |
# expbtn2=gr.Button("Example 2").click(exp2,None,[in_txt,load_file])
|
90 |
# expbtn3=gr.Button("Example 3").click(exp3,None,[in_txt,load_file])
|
91 |
with gr.Accordion("Model Config"):
|
92 |
-
json_ob=gr.JSON(label="JSON")
|
93 |
f1=stream.change(button_on,stream,[stream_btn,sub_btn])
|
94 |
f2=save_btn.click(save_set,[names,length,noise,width,sen_pause],save_file)
|
95 |
f3=load_file.change(load_set,load_file,[names,length,noise,width,sen_pause])
|
|
|
84 |
save_file=gr.File()
|
85 |
with gr.Tab("Load Settings"):
|
86 |
load_file=gr.File()
|
87 |
+
# with gr.Column(scale=1):
|
88 |
# expbtn1=gr.Button("Example 1").click(exp1,None,[in_txt,load_file])
|
89 |
# expbtn2=gr.Button("Example 2").click(exp2,None,[in_txt,load_file])
|
90 |
# expbtn3=gr.Button("Example 3").click(exp3,None,[in_txt,load_file])
|
91 |
with gr.Accordion("Model Config"):
|
92 |
+
json_ob=gr.JSON(label="JSON", open=False)
|
93 |
f1=stream.change(button_on,stream,[stream_btn,sub_btn])
|
94 |
f2=save_btn.click(save_set,[names,length,noise,width,sen_pause],save_file)
|
95 |
f3=load_file.change(load_set,load_file,[names,length,noise,width,sen_pause])
|