robertselvam commited on
Commit
13e8d8a
·
1 Parent(s): 98069ee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ class WebpageSummarizer:
20
  Set OpeanApi key
21
  """
22
 
23
- openai.api_key = "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"
24
 
25
  def upload_via_url(self, url: str) -> NoneStr:
26
  """
 
20
  Set OpeanApi key
21
  """
22
 
23
+ openai.api_key = os.getenv("OPENAI_API_KEY")
24
 
25
  def upload_via_url(self, url: str) -> NoneStr:
26
  """