HoaAn2003 commited on
Commit
eaa4b35
·
1 Parent(s): 985a336

Create main.py

Browse files
Files changed (1) hide show
  1. main.py +4 -0
main.py ADDED
@@ -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()