Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
def create_greeting_message(user_name
|
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 |
"""
|