aldrinjenson commited on
Commit
a1441e3
·
1 Parent(s): ff9636b

Add application file

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python
2
+ # -*- coding: utf-8 -*-
3
+
4
+ import gradio as gr
5
+
6
+
7
+ def greet(name):
8
+ return "Hello " + name + "!!"
9
+
10
+
11
+ iface = gr.Interface(fn=greet, inputs="text", outputs="text")
12
+ iface.launch()