codelion commited on
Commit
6f2c8ad
1 Parent(s): f99f30f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -93,7 +93,8 @@ def md5_hash(path):
93
  ```
94
  '''
95
 
96
- example2='''Analyze the given old code and new code and generate a summary of the changes.
 
97
 
98
  Old Code:
99
  ```
@@ -160,7 +161,7 @@ void processList() {
160
  ```
161
  '''
162
 
163
- example3='''Is the following code prone to CWE-117: Improper Output Neutralization for Logs
164
  ```
165
  from flask import Flask, request, jsonify
166
  import logging
 
93
  ```
94
  '''
95
 
96
+ example2='''You are a software engineer who is best in the world at summarizing code changes.
97
+ Carefully analyze the given old code and new code and generate a summary of the changes.
98
 
99
  Old Code:
100
  ```
 
161
  ```
162
  '''
163
 
164
+ example3='''Is the following code prone to CWE-117: Improper Output Neutralization for Logs. Respond only with YES or NO.
165
  ```
166
  from flask import Flask, request, jsonify
167
  import logging