Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -371,6 +371,9 @@ def send_message(to, body):
|
|
371 |
except Exception as e:
|
372 |
print(f"Error sending message: {e}")
|
373 |
|
|
|
|
|
|
|
374 |
|
375 |
def send_initial_message(to_number):
|
376 |
send_message(
|
|
|
371 |
except Exception as e:
|
372 |
print(f"Error sending message: {e}")
|
373 |
|
374 |
+
@app.route('/')
|
375 |
+
def home():
|
376 |
+
return "Welcome to the WhatsApp Chatbot!", 200
|
377 |
|
378 |
def send_initial_message(to_number):
|
379 |
send_message(
|