AstraOS commited on
Commit
008ea26
·
verified ·
1 Parent(s): 7e76c20

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -17,9 +17,9 @@ app = FastAPI()
17
  # -------------------------------------------------------------------
18
  # We no longer use a global TELEGRAM_API_URL variable.
19
  # The bot token is obtained on demand via the helper function below.
20
- TELEGRAM_BOT_TOKEN = os.getenv("TELEGRAM_BOT_TOKEN")
21
- if not TELEGRAM_BOT_TOKEN:
22
- raise ValueError("Please set the TELEGRAM_BOT_TOKEN environment variable.")
23
 
24
  # Conversation state
25
  user_inputs = {}
 
17
  # -------------------------------------------------------------------
18
  # We no longer use a global TELEGRAM_API_URL variable.
19
  # The bot token is obtained on demand via the helper function below.
20
+ # TELEGRAM_BOT_TOKEN = os.getenv("TELEGRAM_BOT_TOKEN")
21
+ # if not TELEGRAM_BOT_TOKEN:
22
+ # raise ValueError("Please set the TELEGRAM_BOT_TOKEN environment variable.")
23
 
24
  # Conversation state
25
  user_inputs = {}