Vel commited on
Commit
cd27b86
·
verified ·
1 Parent(s): 17bf943

Runtime Error correction

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ sentiment_analyzer = pipeline("sentiment-analysis", model="distilbert-base-uncas
18
  topic_classifier = pipeline("zero-shot-classification", model="facebook/bart-large-mnli")
19
 
20
  @tool
21
- def my_custom_tool(x_username: str, days_in_the past:int)-> str: #it's import to specify the return type
22
  #Keep this format for the description / args / args description but feel free to modify the tool
23
  """A tool that creates a fictional psychological portrait based on an X user's recent activity using Hugging Face tools.
24
  Args:
 
18
  topic_classifier = pipeline("zero-shot-classification", model="facebook/bart-large-mnli")
19
 
20
  @tool
21
+ def my_custom_tool(x_username: str, days_in_the_past:int)-> str: #it's import to specify the return type
22
  #Keep this format for the description / args / args description but feel free to modify the tool
23
  """A tool that creates a fictional psychological portrait based on an X user's recent activity using Hugging Face tools.
24
  Args: