Spaces:
Running
Running
Update random_charactor_generator.py
Browse files
random_charactor_generator.py
CHANGED
|
@@ -4,6 +4,8 @@ class RandomCharatorGeneratorTool:
|
|
| 4 |
name = "random_character"
|
| 5 |
description = "This tool fetches a random character from the 'https://randomuser.me/api/' open API."
|
| 6 |
|
|
|
|
|
|
|
| 7 |
outputs = ["character"]
|
| 8 |
|
| 9 |
def __call__(self, inputs: str):
|
|
|
|
| 4 |
name = "random_character"
|
| 5 |
description = "This tool fetches a random character from the 'https://randomuser.me/api/' open API."
|
| 6 |
|
| 7 |
+
inputs = [] # Adding an empty list for inputs
|
| 8 |
+
|
| 9 |
outputs = ["character"]
|
| 10 |
|
| 11 |
def __call__(self, inputs: str):
|