Halima commited on
Commit
0001548
1 Parent(s): d580198

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -4,9 +4,9 @@ import matplotlib.pyplot as plt
4
  import pandas as pd
5
  import numpy as np
6
  import time
7
- #import tensorflow as tf
8
- from sklearn.metrics import accuracy_score
9
- from sklearn.neighbors import KNeighborsClassifier
10
 
11
  #step 1
12
  #(x_train, y_train), (x_test, y_test) = tf.keras.datasets.mnist.load_data()
@@ -17,4 +17,5 @@ input_module2 = gr.inputs.Slider(1, 10, step=1, label = "k")
17
 
18
  output_module1 = gr.outputs.Label(label = "Predicted Digit")
19
 
20
- output_module2 = gr.outputs.Image(label = "Predicted Probability per class")
 
 
4
  import pandas as pd
5
  import numpy as np
6
  import time
7
+ #mport tensorflow as tf
8
+ #from sklearn.metrics import accuracy_score
9
+ #from sklearn.neighbors import KNeighborsClassifier
10
 
11
  #step 1
12
  #(x_train, y_train), (x_test, y_test) = tf.keras.datasets.mnist.load_data()
 
17
 
18
  output_module1 = gr.outputs.Label(label = "Predicted Digit")
19
 
20
+ output_module2 = gr.outputs.Image(label = "Predicted Probability per class")
21
+