geethareddy commited on
Commit
ead3f99
·
verified ·
1 Parent(s): cc63678

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -28,10 +28,10 @@ if tokenizer.pad_token is None:
28
  tokenizer.pad_token_id = tokenizer.convert_tokens_to_ids(tokenizer.pad_token)
29
  model.config.pad_token_id = tokenizer.pad_token_id
30
 
31
- # Better Prompt
32
- PROMPT_TEMPLATE = """You are an AI coach for construction supervisors. Given the role, project, milestones, and a reflection log, generate:
33
 
34
- 1. A Daily Checklist based on the milestones and role. Ensure to include at least 4 items.
35
  2. Focus Suggestions based on concerns or keywords in the reflection log. Provide at least 2 suggestions.
36
 
37
  Inputs:
 
28
  tokenizer.pad_token_id = tokenizer.convert_tokens_to_ids(tokenizer.pad_token)
29
  model.config.pad_token_id = tokenizer.pad_token_id
30
 
31
+ # Refined Prompt
32
+ PROMPT_TEMPLATE = """You are an AI assistant for construction supervisors. Given the role, project, milestones, and a reflection log, generate:
33
 
34
+ 1. A Daily Checklist with at least 4 items based on the role and milestones.
35
  2. Focus Suggestions based on concerns or keywords in the reflection log. Provide at least 2 suggestions.
36
 
37
  Inputs: