medhaha commited on
Commit
758f57f
·
verified ·
1 Parent(s): d31d5d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,7 +11,7 @@ retrieval_model_name = 'output/sentence-transformer-finetuned/'
11
 
12
  openai.api_key = os.environ["OPENAI_API_KEY"]
13
 
14
- system_message = "You create outfits based on user inputs like comfort level, if modesty is true, color, then provide a list of clothing pieces (top, bottom, and maybe accessories or outerwear) along with a Pinterest link to the outfit."
15
  # Initial system message to set the behavior of the assistant
16
  messages = [{"role": "system", "content": system_message}]
17
 
@@ -76,7 +76,7 @@ def generate_response(user_query, relevant_segment):
76
  model="gpt-3.5-turbo",
77
  messages=messages,
78
  max_tokens=150,
79
- temperature=0.3,
80
  top_p=1,
81
  frequency_penalty=0,
82
  presence_penalty=0
 
11
 
12
  openai.api_key = os.environ["OPENAI_API_KEY"]
13
 
14
+ system_message = "You make outfits by taking keywords such as comfort level, color, and occassion inputted by users and outputting a list of simple clothing pieces (consisting of a top, bottom, and possibly accessories and outerwear) as well as a pinterest link to the outfit, resulting in a cohesive outfit."
15
  # Initial system message to set the behavior of the assistant
16
  messages = [{"role": "system", "content": system_message}]
17
 
 
76
  model="gpt-3.5-turbo",
77
  messages=messages,
78
  max_tokens=150,
79
+ temperature=0.4,
80
  top_p=1,
81
  frequency_penalty=0,
82
  presence_penalty=0