MuskanMjn commited on
Commit
76447fd
·
1 Parent(s): dcc1dbb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -57,8 +57,10 @@ with gr.Blocks() as demo:
57
  inp2 = gr.Radio(['scale', 'auto'], label="Gamma", info="Choose a gamma value", value="scale")
58
 
59
  with gr.Row():
60
- plot = gr.Plot(label=f"Decision function plot for Non-Linear SVC with the '{inp1}' kernel and '{inp2}' gamma ")
61
- num = gr.Textbox(label="Test Accuracy")
 
 
62
 
63
  inp1.change(getColorMap, inputs=[inp1, inp2], outputs=[plot, num])
64
  inp2.change(getColorMap, inputs=[inp1, inp2], outputs=[plot, num])
 
57
  inp2 = gr.Radio(['scale', 'auto'], label="Gamma", info="Choose a gamma value", value="scale")
58
 
59
  with gr.Row():
60
+ with gr.Column(scale=2):
61
+ plot = gr.Plot(label=f"Decision function plot for Non-Linear SVC with the '{inp1}' kernel and '{inp2}' gamma ")
62
+ with gr.Column(scale=1):
63
+ num = gr.Textbox(label="Test Accuracy")
64
 
65
  inp1.change(getColorMap, inputs=[inp1, inp2], outputs=[plot, num])
66
  inp2.change(getColorMap, inputs=[inp1, inp2], outputs=[plot, num])