PhilSpiel commited on
Commit
a3cfdff
·
1 Parent(s): be51abc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import gradio as gr
3
  import os
4
 
5
  # openai API key
6
- openai.api_key = "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" #os.getenv("OPENAPI_KEY") # Replace with your key
7
 
8
  def predict(message, history):
9
  history_openai_format = [{"role": "system", "content":os.getenv("PROMPT")}]
 
3
  import os
4
 
5
  # openai API key
6
+ openai.api_key = os.getenv("OPENAPI_KEY") # Replace with your key
7
 
8
  def predict(message, history):
9
  history_openai_format = [{"role": "system", "content":os.getenv("PROMPT")}]