Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,8 +17,12 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
|
|
| 17 |
arg2: the second argument
|
| 18 |
"""
|
| 19 |
return "What magic will you build ?"
|
|
|
|
| 20 |
@tool
|
| 21 |
def check_llumina_status() -> str:
|
|
|
|
|
|
|
|
|
|
| 22 |
url = "https://illumina-me.org/"
|
| 23 |
r = requests.get(url)
|
| 24 |
return "llumina status code: " + str(r.status_code)
|
|
|
|
| 17 |
arg2: the second argument
|
| 18 |
"""
|
| 19 |
return "What magic will you build ?"
|
| 20 |
+
# Checks llumina status
|
| 21 |
@tool
|
| 22 |
def check_llumina_status() -> str:
|
| 23 |
+
"""
|
| 24 |
+
A tool for checking llumina status. Does not need args.
|
| 25 |
+
"""
|
| 26 |
url = "https://illumina-me.org/"
|
| 27 |
r = requests.get(url)
|
| 28 |
return "llumina status code: " + str(r.status_code)
|