Update app.py
Browse files
app.py
CHANGED
|
@@ -8,5 +8,5 @@ model = from_pretrained_keras("my_model")
|
|
| 8 |
def greet(img):
|
| 9 |
img = np.expand_dims(img, axis = 0)
|
| 10 |
|
| 11 |
-
demo = gr.Interface(inputs = 'sketchpad', outputs = 'text')
|
| 12 |
demo.launch()
|
|
|
|
| 8 |
def greet(img):
|
| 9 |
img = np.expand_dims(img, axis = 0)
|
| 10 |
|
| 11 |
+
demo = gr.Interface(fn = greet , inputs = 'sketchpad', outputs = 'text')
|
| 12 |
demo.launch()
|