Update app.py
Browse files
app.py
CHANGED
|
@@ -176,7 +176,6 @@ def modify_xml(eaf_file, model="meta-llama/Llama-3.3-70B-Instruct"):
|
|
| 176 |
- Maintain proper XML formatting and indentation
|
| 177 |
- Preserve all XML declarations and namespace references
|
| 178 |
- Do not include explanations, commentary, or reasoning in the output
|
| 179 |
-
- Output format: .xml
|
| 180 |
- If specific sections should be returned rather than the full document, specify exactly which parts
|
| 181 |
|
| 182 |
Provided .eaf file and instructions: {code} <|eot_id|>"""
|
|
@@ -191,7 +190,7 @@ def modify_xml(eaf_file, model="meta-llama/Llama-3.3-70B-Instruct"):
|
|
| 191 |
{"role": "user", "content": PROMPT.format(code=eaf_file)},
|
| 192 |
{"role": "assistant", "content": "Here is your output: "}
|
| 193 |
],
|
| 194 |
-
temperature=0.
|
| 195 |
max_tokens=None
|
| 196 |
)
|
| 197 |
|
|
|
|
| 176 |
- Maintain proper XML formatting and indentation
|
| 177 |
- Preserve all XML declarations and namespace references
|
| 178 |
- Do not include explanations, commentary, or reasoning in the output
|
|
|
|
| 179 |
- If specific sections should be returned rather than the full document, specify exactly which parts
|
| 180 |
|
| 181 |
Provided .eaf file and instructions: {code} <|eot_id|>"""
|
|
|
|
| 190 |
{"role": "user", "content": PROMPT.format(code=eaf_file)},
|
| 191 |
{"role": "assistant", "content": "Here is your output: "}
|
| 192 |
],
|
| 193 |
+
temperature=0.6,
|
| 194 |
max_tokens=None
|
| 195 |
)
|
| 196 |
|