Spaces:
Runtime error
Runtime error
Update random_charactor_generator.py
Browse files
random_charactor_generator.py
CHANGED
@@ -8,7 +8,7 @@ class RandomCharatorGeneratorTool:
|
|
8 |
|
9 |
outputs = ["json"]
|
10 |
|
11 |
-
def __call__(self,
|
12 |
API_URL = "https://randomuser.me/api/"
|
13 |
|
14 |
response = requests.get(API_URL)
|
|
|
8 |
|
9 |
outputs = ["json"]
|
10 |
|
11 |
+
def __call__(self, prompt):
|
12 |
API_URL = "https://randomuser.me/api/"
|
13 |
|
14 |
response = requests.get(API_URL)
|