John Smith commited on
Commit
b460c11
·
1 Parent(s): 2bedd9b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -7
app.py CHANGED
@@ -1,8 +1,5 @@
1
- import torch
2
- from torch import nn
3
- import gradio as gr
4
 
5
- gr.Interface(fn=predict,
6
- inputs="sketchpad",
7
- outputs="label",
8
- live=True).launch()
 
1
+ def greet(name):
2
+ return "Hello " + name + "!!"
 
3
 
4
+ iface = gr.Interface(fn=greet, inputs="text", outputs="text")
5
+ iface.launch()