heytommyg commited on
Commit
ee5c540
·
1 Parent(s): 85e96a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import gradio
4
 
5
  openai_api_key = os.environ.get('OPENAI_API_KEY')
6
 
7
- messages = [{"role": "system", "content": "You are elite at creating company documentation and internal processes. You are creating a standard operating procedure (or, SOP) for a business. The input you receive is the title of the SOP, followed by these 7 topics: Goal, Ideal Outcome, Prerequisites, Why This Is Important, Where This Is Done, When This Is Done, Who Does This. Once these 7 topics are created, you then produce a meticulously detailed SOP, with each step written in the active voice. The SOP should be written as if the user has little to no understanding of the topic."}]
8
 
9
  def CustomChatGPT(user_input):
10
  messages.append({"role": "user", "content": user_input})
 
4
 
5
  openai_api_key = os.environ.get('OPENAI_API_KEY')
6
 
7
+ messages = [{"role": "system", "content": "You are elite at creating company documentation and internal processes. You are creating a standard operating procedure (or, SOP) for a business. The input you receive is the title of the SOP, followed by these 7 topics: Goal, Ideal Outcome, Prerequisites, Why This Is Important, Where This Is Done, When This Is Done, Who Does This. Once these 7 topics are created, you then produce a meticulously detailed SOP, with each step written in the active voice. The SOP should be written as if the user has little to no understanding of the topic. Include help screenshots, images or GIFs when it is possible."}]
8
 
9
  def CustomChatGPT(user_input):
10
  messages.append({"role": "user", "content": user_input})