cloud-sean commited on
Commit
b1f4345
·
verified ·
1 Parent(s): 6fb541e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,6 +1,7 @@
1
  import streamlit as st
2
  from openai import OpenAI
3
- client = OpenAI(api_key="sk-proj-giwy7t2Dxj1S9qWn4lvMT3BlbkFJGALJZRFdrNWNLBm18aAN")
 
4
 
5
 
6
  def generate_response(variant, research_paper):
 
1
  import streamlit as st
2
  from openai import OpenAI
3
+ import os
4
+ client = OpenAI(api_key=os.environ.get('api-key'))
5
 
6
 
7
  def generate_response(variant, research_paper):