Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ OPENAI_API_KEY = os.getenv('OPENAI_API_KEY')
|
|
18 |
|
19 |
# Check if environment variables are set
|
20 |
if not all([VERIFY_TOKEN, PAGE_ACCESS_TOKEN, OPENAI_API_KEY]):
|
21 |
-
raise EnvironmentError("Some environment variables are missing. Please check your .env file.")
|
22 |
|
23 |
# Debugging: Print the loaded environment variables (remove in production)
|
24 |
print(f"VERIFY_TOKEN: {VERIFY_TOKEN}")
|
|
|
18 |
|
19 |
# Check if environment variables are set
|
20 |
if not all([VERIFY_TOKEN, PAGE_ACCESS_TOKEN, OPENAI_API_KEY]):
|
21 |
+
#raise EnvironmentError("Some environment variables are missing. Please check your .env file.")
|
22 |
|
23 |
# Debugging: Print the loaded environment variables (remove in production)
|
24 |
print(f"VERIFY_TOKEN: {VERIFY_TOKEN}")
|