MuskanMjn commited on
Commit
9dda449
·
1 Parent(s): a74d65b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -58,7 +58,8 @@ with gr.Blocks() as demo:
58
  with gr.Row():
59
  plot = gr.Plot(label=f"Decision function plot for Non-Linear SVC with the '{inp1}' kernel and '{inp2}' gamma ")
60
  num = gr.Textbox(label="Test Accuracy")
61
-
 
62
  inp2.change(getColorMap, inputs=[inp1, inp2], outputs=[plot, num])
63
 
64
  gr.HTML("<hr>")
 
58
  with gr.Row():
59
  plot = gr.Plot(label=f"Decision function plot for Non-Linear SVC with the '{inp1}' kernel and '{inp2}' gamma ")
60
  num = gr.Textbox(label="Test Accuracy")
61
+
62
+ inp1.change(getColorMap, inputs=[inp1, inp2], outputs=[plot, num])
63
  inp2.change(getColorMap, inputs=[inp1, inp2], outputs=[plot, num])
64
 
65
  gr.HTML("<hr>")