mojuss commited on
Commit
363c200
·
1 Parent(s): 09a2703

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,8 +1,9 @@
1
  import openai
 
2
  import gradio as gr
3
  from gradio.themes.utils import colors, fonts, sizes
4
 
5
- openai.api_key = "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"
6
 
7
  messages = [
8
  {"role": "system", "content": "You are an AI specialized in Residential Real Estate market. Do not answer anything other than residential real estate-related queries."},
 
1
  import openai
2
+ import os
3
  import gradio as gr
4
  from gradio.themes.utils import colors, fonts, sizes
5
 
6
+ openai.api_key = os.environ.get('openai_key')
7
 
8
  messages = [
9
  {"role": "system", "content": "You are an AI specialized in Residential Real Estate market. Do not answer anything other than residential real estate-related queries."},