Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -41,6 +41,12 @@ temperature=0.5,
|
|
41 |
model_id='https://wxknx1kg971u7k1n.us-east-1.aws.endpoints.huggingface.cloud',# it is possible that this model may be overloaded
|
42 |
custom_role_conversions=None,
|
43 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
|
45 |
|
46 |
# Import tool from Hub
|
|
|
41 |
model_id='https://wxknx1kg971u7k1n.us-east-1.aws.endpoints.huggingface.cloud',# it is possible that this model may be overloaded
|
42 |
custom_role_conversions=None,
|
43 |
)
|
44 |
+
model = HfApiModel(
|
45 |
+
max_tokens=2096,
|
46 |
+
temperature=0.5,
|
47 |
+
model_id='Qwen/Qwen2.5-Coder-32B-Instruct',
|
48 |
+
custom_role_conversions=None,
|
49 |
+
)
|
50 |
|
51 |
|
52 |
# Import tool from Hub
|