Update app.py
Browse files
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()
|