Update app.py
Browse files
app.py
CHANGED
|
@@ -16,6 +16,10 @@ auth_token = os.environ["TWILIO_AUTH_TOKEN"]
|
|
| 16 |
my_number = os.environ["MY_NUMBER"]
|
| 17 |
client = Client(account_sid, auth_token)
|
| 18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
@tool
|
| 20 |
def send_message(phone_number:str, text:str)-> None:
|
| 21 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
|
@@ -58,7 +62,7 @@ final_answer = FinalAnswerTool()
|
|
| 58 |
model = HfApiModel(
|
| 59 |
max_tokens=2096,
|
| 60 |
temperature=0.5,
|
| 61 |
-
model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
|
| 62 |
custom_role_conversions=None,
|
| 63 |
)
|
| 64 |
|
|
|
|
| 16 |
my_number = os.environ["MY_NUMBER"]
|
| 17 |
client = Client(account_sid, auth_token)
|
| 18 |
|
| 19 |
+
print(account_sid)
|
| 20 |
+
print(auth_token)
|
| 21 |
+
print(my_number)
|
| 22 |
+
|
| 23 |
@tool
|
| 24 |
def send_message(phone_number:str, text:str)-> None:
|
| 25 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
|
|
|
| 62 |
model = HfApiModel(
|
| 63 |
max_tokens=2096,
|
| 64 |
temperature=0.5,
|
| 65 |
+
model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud', #model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
|
| 66 |
custom_role_conversions=None,
|
| 67 |
)
|
| 68 |
|