Update app.py
Browse files
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 ")
|
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 |
-
|
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()
|
|
|
|