AmineLemsih commited on
Commit
48e6cdf
·
verified ·
1 Parent(s): 54f2aef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -67,12 +67,14 @@ final_answer = FinalAnswerTool()
67
  # model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
68
 
69
  model = HfApiModel(
70
- model_id="HuggingFaceH4/zephyr-7b-beta", # ou mistralai/Mixtral-8x7B-Instruct-v0.1
71
  temperature=0.5,
72
- max_tokens=2048
 
73
  )
74
 
75
 
 
76
  # Import tool from Hub
77
  image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
78
 
 
67
  # model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
68
 
69
  model = HfApiModel(
70
+ model_id="HuggingFaceH4/zephyr-7b-beta", # modèle open source gratuit
71
  temperature=0.5,
72
+ max_tokens=2048,
73
+ use_hf_endpoint=False
74
  )
75
 
76
 
77
+
78
  # Import tool from Hub
79
  image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
80