Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
aitor-medrano
/
prueba_clase_1610
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
aitor-medrano
commited on
Oct 16, 2024
Commit
92c7520
·
verified
·
1 Parent(s):
223044d
Nuevo fichero con la app
Browse files
Files changed (1)
hide
show
app.py
+7
-0
app.py
ADDED
Viewed
@@ -0,0 +1,7 @@
1
+
import gradio as gr
2
+
3
+
def saluda(nombre):
4
+
return "Hola " + nombre + "!"
5
+
6
+
demo = gr.Interface(fn=saluda, inputs="text", outputs="text")
7
+
demo.launch(share=True)