serJD commited on
Commit
906e8a7
·
verified ·
1 Parent(s): bef1cb8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,11 +1,11 @@
1
  import gradio as gr
2
 
3
- def create_greeting_message(user_name: str, tone: str) -> str:
4
  """
5
  Creates a friendly or hostile user message for a user
6
  Args:
7
- user_name: the name of the user that needs a greeting message
8
- tone: choose between "friendly" and "hostile"
9
  Returns:
10
  A string with the user message
11
  """
 
1
  import gradio as gr
2
 
3
+ def create_greeting_message(user_name, tone):
4
  """
5
  Creates a friendly or hostile user message for a user
6
  Args:
7
+ user_name (str): the name of the user that needs a greeting message
8
+ tone (str): choose between "friendly" and "hostile"
9
  Returns:
10
  A string with the user message
11
  """