Excel Espina commited on
Commit
499bbd1
·
1 Parent(s): c2ab47b
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -3,11 +3,8 @@ import gradio as gr
3
 
4
  openai.api_key = os.getenv("OPENAI_KEY")
5
 
6
- with open('prompt.txt') as f:
7
- prompt = f.read()
8
-
9
  messages = [
10
- {"role": "system", "content": prompt},
11
  ]
12
 
13
  with gr.Blocks() as demo:
 
3
 
4
  openai.api_key = os.getenv("OPENAI_KEY")
5
 
 
 
 
6
  messages = [
7
+ {"role": "system", "content": os.getenv("CHATBOT_ENGINE_PROMPT")},
8
  ]
9
 
10
  with gr.Blocks() as demo: