Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,11 +37,12 @@ def get_current_time_in_timezone(timezone: str) -> str:
|
|
| 37 |
final_answer = FinalAnswerTool()
|
| 38 |
#get_current_time_in_timezone = get_current_time_in_timezone()
|
| 39 |
model = HfApiModel(
|
| 40 |
-
|
| 41 |
max_tokens=2046,
|
| 42 |
temperature=0.5,
|
| 43 |
#model_id='Qwen/Qwen2.5-Coder-32B-Instruct',
|
| 44 |
-
model_id='meta-llama/Meta-Llama-3-8B-Instruct',
|
|
|
|
| 45 |
custom_role_conversions=None,
|
| 46 |
)
|
| 47 |
|
|
@@ -65,4 +66,4 @@ agent = CodeAgent(
|
|
| 65 |
)
|
| 66 |
|
| 67 |
|
| 68 |
-
GradioUI(agent).launch()
|
|
|
|
| 37 |
final_answer = FinalAnswerTool()
|
| 38 |
#get_current_time_in_timezone = get_current_time_in_timezone()
|
| 39 |
model = HfApiModel(
|
| 40 |
+
max_tokens=2096,
|
| 41 |
max_tokens=2046,
|
| 42 |
temperature=0.5,
|
| 43 |
#model_id='Qwen/Qwen2.5-Coder-32B-Instruct',
|
| 44 |
+
#model_id='meta-llama/Meta-Llama-3-8B-Instruct',
|
| 45 |
+
model_id='https://wxknx1kg971u7k1n.us-east-1.aws.endpoints.huggingface.cloud',
|
| 46 |
custom_role_conversions=None,
|
| 47 |
)
|
| 48 |
|
|
|
|
| 66 |
)
|
| 67 |
|
| 68 |
|
| 69 |
+
GradioUI(agent).launch(),
|