asitts commited on
Commit
de22522
β€’
1 Parent(s): 5252e57

Rename demo.py to app.py

Browse files
Files changed (1) hide show
  1. demo.py β†’ app.py +3 -1
demo.py β†’ app.py RENAMED
@@ -3,7 +3,9 @@ import openai
3
  import streamlit as st
4
 
5
  # Setting the API key
6
- openai.api_key = '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'
 
 
7
 
8
  st.set_page_config(page_title="SmartStarts", page_icon="πŸ€–", layout="centered", initial_sidebar_state="auto", menu_items=None)
9
 
 
3
  import streamlit as st
4
 
5
  # Setting the API key
6
+ test_key_print = os.environ['OPENAI_KEY']
7
+ openai.api_key = test_key_print
8
+
9
 
10
  st.set_page_config(page_title="SmartStarts", page_icon="πŸ€–", layout="centered", initial_sidebar_state="auto", menu_items=None)
11