Spaces:
Sleeping
Sleeping
MatteoScript
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -125,12 +125,12 @@ def formattaPrompt(prompt, systemRole, systemStyle, instruction):
|
|
125 |
"input": {{
|
126 |
"role": "system",
|
127 |
"content": "{systemRole}",
|
128 |
-
"style": "{systemStyle} {
|
129 |
}},
|
130 |
"messages": [
|
131 |
{{
|
132 |
"role": "instructions",
|
133 |
-
"content": "{instruction}
|
134 |
}},
|
135 |
{{
|
136 |
"role": "user",
|
|
|
125 |
"input": {{
|
126 |
"role": "system",
|
127 |
"content": "{systemRole}",
|
128 |
+
"style": "{systemStyle} Attenzione! Il testo generato deve essere lungo {st.session_state.max_tokens*2} CARATTERI"
|
129 |
}},
|
130 |
"messages": [
|
131 |
{{
|
132 |
"role": "instructions",
|
133 |
+
"content": "{instruction} ({systemStyle})"
|
134 |
}},
|
135 |
{{
|
136 |
"role": "user",
|