Spaces:
Running
Running
Update random_charactor_generator.py
Browse files
random_charactor_generator.py
CHANGED
|
@@ -6,7 +6,7 @@ class RandomCharatorGeneratorTool:
|
|
| 6 |
|
| 7 |
outputs = ["character"]
|
| 8 |
|
| 9 |
-
def __call__(self,
|
| 10 |
API_URL = "https://randomuser.me/api/"
|
| 11 |
|
| 12 |
response = requests.get(API_URL)
|
|
|
|
| 6 |
|
| 7 |
outputs = ["character"]
|
| 8 |
|
| 9 |
+
def __call__(self, inputs: str):
|
| 10 |
API_URL = "https://randomuser.me/api/"
|
| 11 |
|
| 12 |
response = requests.get(API_URL)
|