Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -40,9 +40,9 @@ with gr.Blocks() as demo:
|
|
40 |
|
41 |
|
42 |
model.fit(x_train, y_train, epochs=5)
|
43 |
-
|
44 |
|
45 |
-
return
|
46 |
|
47 |
|
48 |
# Creates the Gradio interface objects
|
|
|
40 |
|
41 |
|
42 |
model.fit(x_train, y_train, epochs=5)
|
43 |
+
test_loss, test_acc = model.evaluate(x_test, y_test, verbose=2)
|
44 |
|
45 |
+
return('\nTest accuracy:', test_acc)
|
46 |
|
47 |
|
48 |
# Creates the Gradio interface objects
|