dudegladiator commited on
Commit
b12e8b0
·
1 Parent(s): 81dd153

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,11 +1,11 @@
1
  import openai
2
  import gradio as gr
3
 
4
- #openai.api_key = os.environ["apikey"]
5
 
6
  message=[{"role":"system","content":"You are expert in explaining things in brief way"}]
7
  try:
8
- openai.api_key="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"
9
  def ChatReply(Question):
10
 
11
  message.append({"role":"user","content": Question})
 
1
  import openai
2
  import gradio as gr
3
 
4
+ openai.api_key = os.environ["apikey"]
5
 
6
  message=[{"role":"system","content":"You are expert in explaining things in brief way"}]
7
  try:
8
+ openai.api_key = os.environ["apikey"]
9
  def ChatReply(Question):
10
 
11
  message.append({"role":"user","content": Question})