Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,6 @@
|
|
1 |
-
import numpy as np
|
2 |
-
import gradio as gr
|
3 |
from tensorflow import keras
|
4 |
-
|
5 |
-
|
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()
|