Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ with gr.Blocks() as demo:
|
|
42 |
model.fit(x_train, y_train, epochs=5)
|
43 |
test_loss, test_acc = model.evaluate(x_test, y_test, verbose=2)
|
44 |
|
45 |
-
print
|
46 |
|
47 |
# Define any necessary preprocessing steps for the image input here
|
48 |
probability_model = tf.keras.Sequential([model, tf.keras.layers.Softmax()])
|
|
|
42 |
model.fit(x_train, y_train, epochs=5)
|
43 |
test_loss, test_acc = model.evaluate(x_test, y_test, verbose=2)
|
44 |
|
45 |
+
print("Test accuracy: ", test_acc)
|
46 |
|
47 |
# Define any necessary preprocessing steps for the image input here
|
48 |
probability_model = tf.keras.Sequential([model, tf.keras.layers.Softmax()])
|