Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
#
|
32 |
-
PROMPT_TEMPLATE = """You are an AI
|
33 |
|
34 |
-
1. A Daily Checklist
|
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:
|