krrishD commited on
Commit
047ac8b
·
1 Parent(s): 08425dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -7,8 +7,6 @@ import os
7
 
8
  os.environ["OPENAI_API_KEY"] = os.environ.get("open_ai_key") #openai key
9
 
10
- print(os.environ["OPENAI_API_KEY"])
11
-
12
  llm = OpenAI(temperature=.7)
13
 
14
  """# Model Implementation"""
@@ -365,7 +363,7 @@ import gradio as gr
365
  import openai
366
  import re
367
 
368
- openai.api_key = "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"
369
 
370
  chat_variables = {
371
  "Context": "",
 
7
 
8
  os.environ["OPENAI_API_KEY"] = os.environ.get("open_ai_key") #openai key
9
 
 
 
10
  llm = OpenAI(temperature=.7)
11
 
12
  """# Model Implementation"""
 
363
  import openai
364
  import re
365
 
366
+ openai.api_key = os.environ["OPENAI_API_KEY"]
367
 
368
  chat_variables = {
369
  "Context": "",