MrAli813 commited on
Commit
aba8ba9
1 Parent(s): b2a615a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import os
2
  import openai
3
  import gradio as gr
4
 
5
- openai.api_key = "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"
6
  hf_t_key = ('HF_TOKEN_KEY')
7
 
8
  def predict(message, history):
 
2
  import openai
3
  import gradio as gr
4
 
5
+ openai.api_key = os.getenv('OPEN_AI_KEY')
6
  hf_t_key = ('HF_TOKEN_KEY')
7
 
8
  def predict(message, history):