cisemh commited on
Commit
21f1f08
·
verified ·
1 Parent(s): 2c59f5f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2,7 +2,7 @@ import cv2
2
  import gradio as gr
3
  import tensorflow as tf
4
  import numpy as np
5
- import PIL.Image
6
 
7
  title = "Welcome on your first sketch recognition app!"
8
 
@@ -17,7 +17,7 @@ model = tf.keras.models.load_model("number_recognition_model_colab.keras")
17
 
18
 
19
  img_size = 28
20
- # Etiketler (0'dan 9'a kadar sayılar)
21
  labels = ["zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"]
22
 
23
  # Tahmin fonksiyonu
 
2
  import gradio as gr
3
  import tensorflow as tf
4
  import numpy as np
5
+ from PIL import Image
6
 
7
  title = "Welcome on your first sketch recognition app!"
8
 
 
17
 
18
 
19
  img_size = 28
20
+
21
  labels = ["zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"]
22
 
23
  # Tahmin fonksiyonu