Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
from transformers import pipeline
|
| 3 |
|
| 4 |
-
MODEL_NAME = "CIRCL/cwe-parent-
|
| 5 |
|
| 6 |
classifier = pipeline("text-classification", model=MODEL_NAME, return_all_scores=True)
|
| 7 |
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
from transformers import pipeline
|
| 3 |
|
| 4 |
+
MODEL_NAME = "CIRCL/cwe-parent-vulnerability-classification-roberta-base"
|
| 5 |
|
| 6 |
classifier = pipeline("text-classification", model=MODEL_NAME, return_all_scores=True)
|
| 7 |
|