stkarlos commited on
Commit
524e0c9
·
verified ·
1 Parent(s): 0ce4dc8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -13,8 +13,8 @@ from Gradio_UI import GradioUI
13
  @tool
14
  def my_fairytale_tool(arg:int)-> str: #it's import to specify the return type
15
  #Keep this format for the description / args / args description but feel free to modify the tool
16
- """A tool that returns a heads-up string of two fairytale titles.
17
- Discover the magic of storytelling with our **Fairy Tale Title Generator**! This tool is designed to inspire your imagination by instantly providing two captivating fairy tale titles that can serve as the perfect starting point for your next creative project. Whether you're crafting a whimsical story, designing a curriculum, or seeking unique prompts for creative writing, this tool has something for everyone.
18
 
19
  Args:
20
  arg: any positive random integer
@@ -60,7 +60,7 @@ final_answer = FinalAnswerTool()
60
  model = HfApiModel(
61
  max_tokens=2096,
62
  temperature=0.5,
63
- model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
64
  custom_role_conversions=None,
65
  token=token,
66
  )
 
13
  @tool
14
  def my_fairytale_tool(arg:int)-> str: #it's import to specify the return type
15
  #Keep this format for the description / args / args description but feel free to modify the tool
16
+ """A tool that returns a heads-up string of two fairytale titles, given as hint an integer number, ideally the lucky number of the user.
17
+ Discover the magic of storytelling with our **fairytale tool**! This tool is designed to inspire your imagination by instantly providing two captivating fairy tale titles that can serve as the perfect starting point for your next creative project. Whether you're crafting a whimsical story, designing a curriculum, or seeking unique prompts for creative writing, this tool has something for everyone.
18
 
19
  Args:
20
  arg: any positive random integer
 
60
  model = HfApiModel(
61
  max_tokens=2096,
62
  temperature=0.5,
63
+ model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud' #'Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
64
  custom_role_conversions=None,
65
  token=token,
66
  )