Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
HoaAn2003
/
FastAICourse
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
HoaAn2003
commited on
Jun 10, 2023
Commit
eaa4b35
·
1 Parent(s):
985a336
Create main.py
Browse files
Files changed (1)
hide
show
main.py
+4
-0
main.py
ADDED
Viewed
@@ -0,0 +1,4 @@
1
+
import gradio as gr
2
+
def greet(name):
3
+
return f"Hello {name}! Welcome to HuggingFace!"
4
+
gr.Interface(fn=greet,inputs="text",outputs="text").launch()