ravikagitha commited on
Commit
d2cbe17
·
verified ·
1 Parent(s): f5c230a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -3,7 +3,7 @@ import tensorflow as tf
3
  import numpy as np
4
 
5
  # Load the model
6
- model = tf.keras.models.load_model('mnist_model.h5')
7
 
8
  # Classification prediction function
9
  labels = [0,1,2,3,4,5,6,7,8,9]
@@ -18,8 +18,7 @@ interface = gr.Interface(fn=classify_image,
18
  inputs="sketchpad",
19
  outputs=label,
20
  capture_session="True",
21
- # title = "Digits Classification",
22
- title = "Under Maintenance",
23
  description = "This is a machine learning model which can classify the hand written digits from 0-9.")
24
 
25
  # Launch
 
3
  import numpy as np
4
 
5
  # Load the model
6
+ model = tf.keras.models.load_model('mnist_trained_model_2(acc-97%).h5')
7
 
8
  # Classification prediction function
9
  labels = [0,1,2,3,4,5,6,7,8,9]
 
18
  inputs="sketchpad",
19
  outputs=label,
20
  capture_session="True",
21
+ title = "Digits Classification",
 
22
  description = "This is a machine learning model which can classify the hand written digits from 0-9.")
23
 
24
  # Launch