Hugomartinezg commited on
Commit
fad20f6
·
1 Parent(s): 87bed09

Subir demo primer ejercicio

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def saluda(nombre):
4
+ return "hola " + nombre
5
+
6
+ demo = gr.Interface(fn=saluda, inputs=gr.Textbox(lines=10, placeholder="Dime tu nombre porfa"), outputs="text")
7
+
8
+ demo.launch()