Alim2003 commited on
Commit
370fcff
1 Parent(s): a08a934

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -1,8 +1,6 @@
1
- import numpy as np
2
- import gradio as gr
3
  from tensorflow import keras
4
-
5
- mpdel = keras.models.load_model('my_model')
6
 
7
  def greet(img):
8
  img = np.expand_dims(img, axis = 0)
@@ -10,4 +8,4 @@ def greet(img):
10
 
11
  demo = gr.Interface(fn=greet, inputs="sketchpad", outputs="text")
12
 
13
- demo.launch()
 
 
 
1
  from tensorflow import keras
2
+ import gradio as gr
3
+ import numpy as np
4
 
5
  def greet(img):
6
  img = np.expand_dims(img, axis = 0)
 
8
 
9
  demo = gr.Interface(fn=greet, inputs="sketchpad", outputs="text")
10
 
11
+ demo.launch()