pgurazada1 commited on
Commit
68b86c0
1 Parent(s): b350c34

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ def predict(user_input: str):
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)
28
 
29
  interface = gr.Interface(
30
  inputs=textbox, fn=predict, outputs="text",
 
24
  return f"Label: {prediction['label']}\nProbability: {round(prediction['score'], 3)}"
25
 
26
 
27
+ textbox = gr.Textbox(placeholder="Enter user input to classify injection attacks", lines=12)
28
 
29
  interface = gr.Interface(
30
  inputs=textbox, fn=predict, outputs="text",