Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,7 +32,7 @@ class MovieRecommendationSystem:
|
|
| 32 |
self.similarity_matrix = None
|
| 33 |
self.vectorizer = CountVectorizer(stop_words='english')
|
| 34 |
# Load API key from environment variable
|
| 35 |
-
self.API_KEY = os.getenv("
|
| 36 |
if not self.API_KEY:
|
| 37 |
print("🚨 WARNING: OMDB_API_KEY not found in environment variables.")
|
| 38 |
self.BASE_URL = "http://www.omdbapi.com/"
|
|
|
|
| 32 |
self.similarity_matrix = None
|
| 33 |
self.vectorizer = CountVectorizer(stop_words='english')
|
| 34 |
# Load API key from environment variable
|
| 35 |
+
self.API_KEY = os.getenv("OMDB_API_KEY")
|
| 36 |
if not self.API_KEY:
|
| 37 |
print("🚨 WARNING: OMDB_API_KEY not found in environment variables.")
|
| 38 |
self.BASE_URL = "http://www.omdbapi.com/"
|