Chris4K commited on
Commit
fd41e8f
·
verified ·
1 Parent(s): 023be31

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
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, sentiment_tool, token_counter_tool, most_downloaded_model, word_counter_tool, sentence_counter_tool, emojify_text_tool , namedEntityRecognitionTool, sourcecode_retriever_tool, text_to_image, text_to_video, image_transformation, latent_upscaler_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):