SengTak commited on
Commit
fdaa396
·
1 Parent(s): f9933c8

Update space add response timing

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -37,7 +37,8 @@ demo = gr.Interface(
37
  outputs=gr.Textbox(label="Classification Result"),
38
  title="Harmful Prompt Classifier",
39
  description="This app classifies whether a given prompt is potentially harmful or benign.",
 
 
40
  )
41
-
42
  if __name__ == "__main__":
43
  demo.launch()
 
37
  outputs=gr.Textbox(label="Classification Result"),
38
  title="Harmful Prompt Classifier",
39
  description="This app classifies whether a given prompt is potentially harmful or benign.",
40
+ show_api=False,
41
+ show_response_timing=True
42
  )
 
43
  if __name__ == "__main__":
44
  demo.launch()