ANON-STUDIOS-254 commited on
Commit
a33f7f6
·
verified ·
1 Parent(s): 15e703a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
10
  DEFAULT_MAX_TOKENS = 1000
11
  DEFAULT_TEMPERATURE = 0.8
12
  DEFAULT_TOP_P = 0.95
13
- DEFAULT_SYSTEM_MESSAGE = "You are an expert in environmental psychology. Provide expert recommendations addressing the user directly."
14
 
15
  def generate_recommendations(comfort, social_interaction, stressors, privacy, open_question, max_tokens=DEFAULT_MAX_TOKENS, temperature=DEFAULT_TEMPERATURE, top_p=DEFAULT_TOP_P, system_message=DEFAULT_SYSTEM_MESSAGE):
16
  # Construct the input message for the model with context
 
10
  DEFAULT_MAX_TOKENS = 1000
11
  DEFAULT_TEMPERATURE = 0.8
12
  DEFAULT_TOP_P = 0.95
13
+ DEFAULT_SYSTEM_MESSAGE = "You are an expert in environmental psychology. Provide expert recommendations addressing the client directly. Not like a letter though but like a professional report."
14
 
15
  def generate_recommendations(comfort, social_interaction, stressors, privacy, open_question, max_tokens=DEFAULT_MAX_TOKENS, temperature=DEFAULT_TEMPERATURE, top_p=DEFAULT_TOP_P, system_message=DEFAULT_SYSTEM_MESSAGE):
16
  # Construct the input message for the model with context