pgurazada1 commited on
Commit
b889bb5
·
verified ·
1 Parent(s): 35776fa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ def predict(user_input: str):
21
 
22
  prediction = classifier(user_input)[0]
23
 
24
- return f"Label: {prediction['label']}\n Probability: {round(prediction['score'], 3)}"
25
 
26
 
27
  textbox = gr.Textbox(placeholder="Enter user input for injection attack classification", lines=12)
 
21
 
22
  prediction = classifier(user_input)[0]
23
 
24
+ return f"Label: {prediction['label']}\nProbability: {round(prediction['score'], 3)}"
25
 
26
 
27
  textbox = gr.Textbox(placeholder="Enter user input for injection attack classification", lines=12)