cisemh commited on
Commit
59eb8a3
·
verified ·
1 Parent(s): 6e34d32

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py CHANGED
@@ -1,3 +1,12 @@
 
 
 
 
 
 
 
 
 
1
 
2
  def predict(img):
3
  # Preprocess the input image
 
1
+ import cv2
2
+ import gradio as gr
3
+ import tensorflow as tf
4
+ import numpy as np
5
+
6
+
7
+ model = tf.keras.models.load_model("number_recognition_model_colab.keras")
8
+
9
+
10
 
11
  def predict(img):
12
  # Preprocess the input image