robertselvam commited on
Commit
3b2a15f
1 Parent(s): 70c3134

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -12,9 +12,8 @@ import openai
12
 
13
  class ChemicalIdentifier:
14
  def __init__(self):
15
-
16
- openai_api_key = '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'
17
- os.environ["OPENAI_API_KEY"] = openai_api_key
18
 
19
  def get_empty_state(self):
20
 
 
12
 
13
  class ChemicalIdentifier:
14
  def __init__(self):
15
+
16
+ opeai.api_key = os.getenv["OPENAI_API_KEY"]
 
17
 
18
  def get_empty_state(self):
19