Karthikeyan commited on
Commit
ccd5c75
1 Parent(s): e5453a8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,6 +1,6 @@
1
  class QuestionsGenarator:
2
  def __init__(self):
3
- openai.api_key = "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"
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