Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -90,8 +90,6 @@ with gr.Blocks() as demo:
|
|
90 |
with gr.Column(scale=2):
|
91 |
image_data = gr.Image(label="Upload Image", type="numpy", image_mode="L", shape=[28,28], invert_colors=True)
|
92 |
with gr.Column(scale=1):
|
93 |
-
train_test_btn = gr.Button(value="Train/Test")
|
94 |
-
model_performance = gr.Text(label="Model Performance Results", interactive=False)
|
95 |
model_prediction = gr.Text(label="Model Prediction", interactive=False)
|
96 |
image_data.change(classifyImage, image_data, model_prediction)
|
97 |
|
|
|
90 |
with gr.Column(scale=2):
|
91 |
image_data = gr.Image(label="Upload Image", type="numpy", image_mode="L", shape=[28,28], invert_colors=True)
|
92 |
with gr.Column(scale=1):
|
|
|
|
|
93 |
model_prediction = gr.Text(label="Model Prediction", interactive=False)
|
94 |
image_data.change(classifyImage, image_data, model_prediction)
|
95 |
|