Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ def get_domain_name(email:str)-> str: #it's import to specify the return type
|
|
13 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
14 |
"""A tool that extracts domain name from the specified email.
|
15 |
Args:
|
16 |
-
|
17 |
"""
|
18 |
domain = email.split('@')[1]
|
19 |
return domain
|
|
|
13 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
14 |
"""A tool that extracts domain name from the specified email.
|
15 |
Args:
|
16 |
+
email: a string that contains the email address provided by the user (e.g., [email protected])
|
17 |
"""
|
18 |
domain = email.split('@')[1]
|
19 |
return domain
|