tomsoderlund commited on
Commit
51857fd
1 Parent(s): 62c61ff

Simple app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ import gradio
2
+
3
+ def my_inference_function(name):
4
+ return "Hello " + name + "!"
5
+
6
+ gradio_interface = gradio.Interface(fn=my_inference_function, inputs="text", outputs="text")
7
+ gradio_interface.launch()