jvroo commited on
Commit
76fa04f
·
1 Parent(s): 0cf6591
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ remote_inference_client = InferenceClient(remote_model)
20
  OMDB_API_URL = 'http://www.omdbapi.com/'
21
  # This is secret on Huggingface
22
  api_key = os.getenv("OMDB")
23
- OMDB_API_KEY = OpenAI(api_key=api_key)
24
 
25
  # Function to fetch movie information from OMDb API
26
  def fetch_movie_info(movie_name):
 
20
  OMDB_API_URL = 'http://www.omdbapi.com/'
21
  # This is secret on Huggingface
22
  api_key = os.getenv("OMDB")
23
+ OMDB_API_KEY = api_key
24
 
25
  # Function to fetch movie information from OMDb API
26
  def fetch_movie_info(movie_name):