xarical commited on
Commit
c0bc543
·
verified ·
1 Parent(s): 7dcd338
Files changed (1) hide show
  1. app.py +15 -0
app.py ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def greet(name: str) -> str:
4
+ """
5
+ Greets the user, given a provided name.
6
+ """
7
+ return "Hello " + name + "!!"
8
+
9
+
10
+ demo = gr.Interface(
11
+ fn=greet,
12
+ inputs="text",
13
+ outputs="text"
14
+ )
15
+ demo.launch(mcp=True)