harishraju7 commited on
Commit
d3fc96e
·
verified ·
1 Parent(s): 11888d4

Changed the model being used

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,7 +8,6 @@ from PIL import Image
8
 
9
  from Gradio_UI import GradioUI
10
 
11
- # Below is an example of a tool that does nothing. Amaze us with your creativity !
12
  @tool
13
  def image_generator(character:str, sceneDescription:str)-> Image: #it's important to specify the return type
14
  #Keep this format for the description / args / args description but feel free to modify the tool
@@ -47,11 +46,12 @@ final_answer = FinalAnswerTool()
47
 
48
  # If the agent does not answer, the model is overloaded, please use another model or the following Hugging Face Endpoint that also contains qwen2.5 coder:
49
  # model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
 
50
 
51
  model = HfApiModel(
52
  max_tokens=2096,
53
  temperature=0.5,
54
- model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
55
  custom_role_conversions=None,
56
  )
57
 
 
8
 
9
  from Gradio_UI import GradioUI
10
 
 
11
  @tool
12
  def image_generator(character:str, sceneDescription:str)-> Image: #it's important to specify the return type
13
  #Keep this format for the description / args / args description but feel free to modify the tool
 
46
 
47
  # If the agent does not answer, the model is overloaded, please use another model or the following Hugging Face Endpoint that also contains qwen2.5 coder:
48
  # model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
49
+ # model_id='Qwen/Qwen2.5-Coder-32B-Instruct'
50
 
51
  model = HfApiModel(
52
  max_tokens=2096,
53
  temperature=0.5,
54
+ model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud',# it is possible that this model may be overloaded
55
  custom_role_conversions=None,
56
  )
57