xarical commited on
Commit
a834514
·
verified ·
1 Parent(s): c0bc543

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -3,6 +3,12 @@ import gradio as gr
3
  def greet(name: str) -> str:
4
  """
5
  Greets the user, given a provided name.
 
 
 
 
 
 
6
  """
7
  return "Hello " + name + "!!"
8
 
@@ -12,4 +18,4 @@ demo = gr.Interface(
12
  inputs="text",
13
  outputs="text"
14
  )
15
- demo.launch(mcp=True)
 
3
  def greet(name: str) -> str:
4
  """
5
  Greets the user, given a provided name.
6
+
7
+ Args:
8
+ name (str): The name of the user
9
+
10
+ Returns:
11
+ str: The greeting
12
  """
13
  return "Hello " + name + "!!"
14
 
 
18
  inputs="text",
19
  outputs="text"
20
  )
21
+ demo.launch(mcp_server=True)