jcjurado commited on
Commit
2162516
·
1 Parent(s): ac7d30c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py CHANGED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def greet(name):
4
+ return "Hello " + name + "!!"
5
+
6
+ texto = gr.inputs.Textbox( label="Hola")
7
+ #sex = gr.inputs.Radio(['female', 'male'], label="Sex")
8
+ iface = gr.Interface(greet, texto, outputs="text")
9
+ iface.launch()