Ramshah07 commited on
Commit
034c5da
·
verified ·
1 Parent(s): 13d258a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -8,14 +8,14 @@ import requests
8
 
9
  dotenv.load_dotenv(override=True)
10
 
11
- #openai_api_key = "AIzaSyBRLbvYfTDSq2F8o20Fc0okGAMxiRMNnVk"
12
  openai_api_key = os.getenv("OPENAI_KEY")
13
  pushover_user = os.getenv("PUSHOVER_USER")
14
  pushover_token = os.getenv("PUSHOVER_TOKEN")
15
 
16
- if pushover_user and pushover_token:
17
- print("Pushover user and token found")
18
- print("Pushover user and token not found")
19
 
20
  def send_pushover_notification(message):
21
  url = "https://api.pushover.net/1/messages.json"
 
8
 
9
  dotenv.load_dotenv(override=True)
10
 
11
+
12
  openai_api_key = os.getenv("OPENAI_KEY")
13
  pushover_user = os.getenv("PUSHOVER_USER")
14
  pushover_token = os.getenv("PUSHOVER_TOKEN")
15
 
16
+ #if pushover_user and pushover_token:
17
+ # print("Pushover user and token found")
18
+ # print("Pushover user and token not found")
19
 
20
  def send_pushover_notification(message):
21
  url = "https://api.pushover.net/1/messages.json"