Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,11 @@ text_to_video = load_tool("Chris4K/text-to-video")
|
|
49 |
image_transformation = load_tool("Chris4K/image-transformation")
|
50 |
latent_upscaler_tool = load_tool("Chris4K/latent-upscaler-tool")
|
51 |
|
52 |
-
tools = [random_character_tool, text_generation_tool,
|
|
|
|
|
|
|
|
|
53 |
|
54 |
# Define the custom HfAgent class with token and input_params for e.g max_new_token
|
55 |
class CustomHfAgent(Agent):
|
|
|
49 |
image_transformation = load_tool("Chris4K/image-transformation")
|
50 |
latent_upscaler_tool = load_tool("Chris4K/latent-upscaler-tool")
|
51 |
|
52 |
+
tools = [random_character_tool, text_generation_tool,
|
53 |
+
#sentiment_tool,
|
54 |
+
token_counter_tool, most_downloaded_model,
|
55 |
+
word_counter_tool, sentence_counter_tool, emojify_text_tool , namedEntityRecognitionTool, sourcecode_retriever_tool,
|
56 |
+
text_to_image, text_to_video, image_transformation, latent_upscaler_tool ]
|
57 |
|
58 |
# Define the custom HfAgent class with token and input_params for e.g max_new_token
|
59 |
class CustomHfAgent(Agent):
|