MuskanMjn commited on
Commit
908df9a
·
1 Parent(s): 19665f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -57,7 +57,7 @@ with gr.Blocks() as demo:
57
  btn = gr.Button(value="Submit")
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 ").properties(object-fit="contain")
61
  num = gr.Textbox(label="Test Accuracy")
62
 
63
  btn.click(getColorMap, inputs=[inp1, inp2], outputs=[plot, num])
@@ -69,6 +69,4 @@ with gr.Blocks() as demo:
69
 
70
 
71
  if __name__ == "__main__":
72
- print("hdh")
73
- demo.launch()
74
- print("gedhhfhf")
 
57
  btn = gr.Button(value="Submit")
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
  btn.click(getColorMap, inputs=[inp1, inp2], outputs=[plot, num])
 
69
 
70
 
71
  if __name__ == "__main__":
72
+ demo.launch()