tobiasaurer commited on
Commit
e6c0240
1 Parent(s): bf962cf

adds attempt at secret integration

Browse files
pages/3 - Similarity-Based Recommender.py CHANGED
@@ -134,7 +134,7 @@ streaming_country = st.text_input('Country for streaming information (e.g. "de"
134
  # API INFORMATION:
135
  url = "https://streaming-availability.p.rapidapi.com/get/basic"
136
  headers = {
137
- "X-RapidAPI-Key": api_key,
138
  "X-RapidAPI-Host": "streaming-availability.p.rapidapi.com"
139
  }
140
 
 
134
  # API INFORMATION:
135
  url = "https://streaming-availability.p.rapidapi.com/get/basic"
136
  headers = {
137
+ "X-RapidAPI-Key": st.secrets["api_key"],
138
  "X-RapidAPI-Host": "streaming-availability.p.rapidapi.com"
139
  }
140