Update app.py
Browse files
app.py
CHANGED
|
@@ -106,11 +106,12 @@ with gr.Blocks(title=title) as demo:
|
|
| 106 |
d1 = gr.Slider(1,10,step=1,value=5,label = 'max_depth')
|
| 107 |
d2 = gr.Slider(0.0,1,step=0.001,value=0.0,label = 'ccp_alpha')
|
| 108 |
|
|
|
|
|
|
|
| 109 |
with gr.Row():
|
| 110 |
p_1 = gr.Plot()
|
| 111 |
p_2 = gr.Plot()
|
| 112 |
|
| 113 |
-
btn = gr.Button(value= 'Submit')
|
| 114 |
btn.click(make_plot,inputs=[d0,d1,d2],outputs=[p_1,p_2])
|
| 115 |
|
| 116 |
demo.launch()
|
|
|
|
| 106 |
d1 = gr.Slider(1,10,step=1,value=5,label = 'max_depth')
|
| 107 |
d2 = gr.Slider(0.0,1,step=0.001,value=0.0,label = 'ccp_alpha')
|
| 108 |
|
| 109 |
+
btn = gr.Button(value= 'Submit')
|
| 110 |
+
|
| 111 |
with gr.Row():
|
| 112 |
p_1 = gr.Plot()
|
| 113 |
p_2 = gr.Plot()
|
| 114 |
|
|
|
|
| 115 |
btn.click(make_plot,inputs=[d0,d1,d2],outputs=[p_1,p_2])
|
| 116 |
|
| 117 |
demo.launch()
|