hwberry2 commited on
Commit
e3e4b56
·
1 Parent(s): 276d599

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -60,7 +60,7 @@ with gr.Blocks() as demo:
60
 
61
  # train the model - 5 runs
62
  # evaluate the model on the test set
63
- model.fit(x_train, y_train, epochs=5, validation_split=0.6)
64
  test_loss, test_acc = model.evaluate(x_test, y_test, verbose=2)
65
  post_train_results = f"Test accuracy: {test_acc} Test Loss: {test_loss}"
66
  print(post_train_results)
 
60
 
61
  # train the model - 5 runs
62
  # evaluate the model on the test set
63
+ model.fit(x_train, y_train, epochs=5, validation_split=0.9)
64
  test_loss, test_acc = model.evaluate(x_test, y_test, verbose=2)
65
  post_train_results = f"Test accuracy: {test_acc} Test Loss: {test_loss}"
66
  print(post_train_results)