add label to plot
Browse files
app.py
CHANGED
@@ -120,7 +120,7 @@ with gr.Blocks(title=title) as demo:
|
|
120 |
model1 = gr.Textbox(label="Repo id of first model", value="haizad/ames-housing-random-forest-predictor")
|
121 |
model2 = gr.Textbox(label="Repo id of second model", value="haizad/ames-housing-gbdt-predictor")
|
122 |
model3 = gr.Textbox(label="Repo id of third model", value="haizad/ames-housing-lasso-predictor")
|
123 |
-
plot = gr.Plot("Comparison of single predictor against stacked predictor")
|
124 |
stack_btn = gr.Button("Stack")
|
125 |
stack_btn.click(fn=stacked_model, inputs=[model1,model2,model3], outputs=[plot])
|
126 |
|
|
|
120 |
model1 = gr.Textbox(label="Repo id of first model", value="haizad/ames-housing-random-forest-predictor")
|
121 |
model2 = gr.Textbox(label="Repo id of second model", value="haizad/ames-housing-gbdt-predictor")
|
122 |
model3 = gr.Textbox(label="Repo id of third model", value="haizad/ames-housing-lasso-predictor")
|
123 |
+
plot = gr.Plot(label="Comparison of single predictor against stacked predictor")
|
124 |
stack_btn = gr.Button("Stack")
|
125 |
stack_btn.click(fn=stacked_model, inputs=[model1,model2,model3], outputs=[plot])
|
126 |
|