Spaces:
Runtime error
Runtime error
robertselvam
commited on
Commit
•
3b2a15f
1
Parent(s):
70c3134
Update app.py
Browse files
app.py
CHANGED
@@ -12,9 +12,8 @@ import openai
|
|
12 |
|
13 |
class ChemicalIdentifier:
|
14 |
def __init__(self):
|
15 |
-
|
16 |
-
|
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 |
|