Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -61,13 +61,12 @@ final_answer = FinalAnswerTool()
|
|
61 |
# model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
|
62 |
|
63 |
model = HfApiModel(
|
64 |
-
max_tokens=2096,
|
65 |
-
temperature=0.5,
|
66 |
-
model_id='
|
67 |
-
custom_role_conversions=None,
|
68 |
)
|
69 |
|
70 |
-
|
71 |
# Import tool from Hub
|
72 |
image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|
73 |
|
|
|
61 |
# model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
|
62 |
|
63 |
model = HfApiModel(
|
64 |
+
max_tokens=2096,
|
65 |
+
temperature=0.5,
|
66 |
+
model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud', # Using the alternative endpoint
|
67 |
+
custom_role_conversions=None,
|
68 |
)
|
69 |
|
|
|
70 |
# Import tool from Hub
|
71 |
image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|
72 |
|