RyanDA commited on
Commit
2a36510
·
1 Parent(s): 8ba86cd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -1,7 +1,8 @@
1
  import gradio as gr
 
2
 
3
- def MNIST(name):
4
- return "Hello " + name + "!!"
5
 
6
- iface = gr.Interface(fn=MNIST, inputs="text", outputs="text")
7
  iface.launch()
 
1
  import gradio as gr
2
+ from keras.models import load_model
3
 
4
+ def MNIST(arr):
5
+ return str(arr) + arr.shape
6
 
7
+ iface = gr.Interface(fn=MNIST, inputs="sketchpad", outputs="text")
8
  iface.launch()