Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ demo = gr.Interface(
|
|
37 |
title="CWE Prediction from Commit Message or Vulnerability Description",
|
38 |
description="This tool uses a fine-tuned model to predict CWE categories from Git commit messages and vulnerability descriptions. "
|
39 |
"Predicted child CWEs are mapped to their parent CWEs if applicable.",
|
40 |
-
|
41 |
["A vulnerability has been found in cfire24 ajaxlife up to 0.3.2 and classified as problematic. This vulnerability affects unknown code. The manipulation leads to cross site scripting. The attack can be initiated remotely. Upgrading to version 0.3.3 is able to address this issue. "],
|
42 |
]
|
43 |
)
|
|
|
37 |
title="CWE Prediction from Commit Message or Vulnerability Description",
|
38 |
description="This tool uses a fine-tuned model to predict CWE categories from Git commit messages and vulnerability descriptions. "
|
39 |
"Predicted child CWEs are mapped to their parent CWEs if applicable.",
|
40 |
+
examples=[
|
41 |
["A vulnerability has been found in cfire24 ajaxlife up to 0.3.2 and classified as problematic. This vulnerability affects unknown code. The manipulation leads to cross site scripting. The attack can be initiated remotely. Upgrading to version 0.3.3 is able to address this issue. "],
|
42 |
]
|
43 |
)
|