Update _script_for_eval.py
Browse files- _script_for_eval.py +1 -1
_script_for_eval.py
CHANGED
@@ -131,7 +131,7 @@ Original Code:
|
|
131 |
Task: Fix the vulnerability in the code above. Provide only the complete fixed code without explanations or comments. Make minimal changes necessary to address the security issue while preserving the original functionality."""
|
132 |
|
133 |
few_shot_messages = fetch_dataset_examples(prompt, 3, True)
|
134 |
-
response = get_fixed_code_fine_tuned(prompt,
|
135 |
|
136 |
if "```python" in response:
|
137 |
idx = response.find("```python")
|
|
|
131 |
Task: Fix the vulnerability in the code above. Provide only the complete fixed code without explanations or comments. Make minimal changes necessary to address the security issue while preserving the original functionality."""
|
132 |
|
133 |
few_shot_messages = fetch_dataset_examples(prompt, 3, True)
|
134 |
+
response = get_fixed_code_fine_tuned(prompt, [])
|
135 |
|
136 |
if "```python" in response:
|
137 |
idx = response.find("```python")
|