Spaces:
Sleeping
Sleeping
Update space add response timing
Browse files
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()
|