Spaces:
Runtime error
Runtime error
Karthikeyan
commited on
Commit
•
ccd5c75
1
Parent(s):
e5453a8
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
class QuestionsGenarator:
|
2 |
def __init__(self):
|
3 |
-
openai.api_key = "
|
4 |
|
5 |
def extract_text_from_file(self,file_path):
|
6 |
# Get the file extension
|
|
|
1 |
class QuestionsGenarator:
|
2 |
def __init__(self):
|
3 |
+
openai.api_key = os.getenv("OPENAI_API_KEY")
|
4 |
|
5 |
def extract_text_from_file(self,file_path):
|
6 |
# Get the file extension
|