Update crewai/tools/clarifai_tools.py
Browse files
crewai/tools/clarifai_tools.py
CHANGED
|
@@ -34,12 +34,11 @@ class ClarifaiTools():
|
|
| 34 |
def clarifai_image(prompt):
|
| 35 |
|
| 36 |
"""
|
| 37 |
-
|
| 38 |
-
Handles DeadlineExceeded exceptions from the Google API.
|
| 39 |
Args:
|
| 40 |
-
query (str):
|
| 41 |
Returns:
|
| 42 |
-
str:
|
| 43 |
"""
|
| 44 |
|
| 45 |
# Clarifai gRPC setup
|
|
|
|
| 34 |
def clarifai_image(prompt):
|
| 35 |
|
| 36 |
"""
|
| 37 |
+
Draws images from prompts
|
|
|
|
| 38 |
Args:
|
| 39 |
+
query (str): Prompt
|
| 40 |
Returns:
|
| 41 |
+
str: Image
|
| 42 |
"""
|
| 43 |
|
| 44 |
# Clarifai gRPC setup
|