MatteoScript commited on
Commit
42f0d1d
1 Parent(s): 3bc1a3c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -125,12 +125,12 @@ def formattaPrompt(prompt, systemRole, systemStyle, instruction):
125
  "input": {{
126
  "role": "system",
127
  "content": "{systemRole}",
128
- "style": "{systemStyle} {lunghezza}"
129
  }},
130
  "messages": [
131
  {{
132
  "role": "instructions",
133
- "content": "{instruction} "("{systemStyle}")"
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",