Spaces:
Runtime error
Runtime error
Update emojify_text.py
Browse files- emojify_text.py +1 -1
emojify_text.py
CHANGED
@@ -5,7 +5,7 @@ class EmojifyTextTool(Tool):
|
|
5 |
name = "emojify_text"
|
6 |
description = "Emojifies text by adding relevant emojis to enhance expressiveness."
|
7 |
inputs = ["text"]
|
8 |
-
outputs = ["
|
9 |
|
10 |
def __call__(self, text: str):
|
11 |
# Define a dictionary mapping keywords to emojis
|
|
|
5 |
name = "emojify_text"
|
6 |
description = "Emojifies text by adding relevant emojis to enhance expressiveness."
|
7 |
inputs = ["text"]
|
8 |
+
outputs = ["text"] # Explicitly specify the output component
|
9 |
|
10 |
def __call__(self, text: str):
|
11 |
# Define a dictionary mapping keywords to emojis
|