Skip to content

Commit

Permalink
updated the file structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Kalebu committed May 9, 2024
1 parent b68802d commit f3d869b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@
from sarufi import Sarufi
from dotenv import load_dotenv
from pymessenger.bot import Bot
from mangum import Mangum
from fastapi import FastAPI,Response, Request,BackgroundTasks
from mangum import Mangum


# Load .env file
load_dotenv('.env')

# Initialize Flask App
app = FastAPI()
handler = Mangum(app)
# Load .env file
load_dotenv()


# Make sure all required environment variables are set
if os.getenv("PAGE_ACCESS_TOKEN") is None:
Expand Down

0 comments on commit f3d869b

Please sign in to comment.