Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -122,6 +122,8 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
|
|
| 122 |
"""
|
| 123 |
demo = gr.ChatInterface(
|
| 124 |
respond,
|
|
|
|
|
|
|
| 125 |
additional_inputs=[
|
| 126 |
gr.Slider(minimum=0.01, maximum=0.99, value=0.75, step=0.01, label="Detection Probability Threshold "),
|
| 127 |
],
|
|
|
|
| 122 |
"""
|
| 123 |
demo = gr.ChatInterface(
|
| 124 |
respond,
|
| 125 |
+
title='SafeSQL-v1-Demo',
|
| 126 |
+
description='Please enter a SQL query as your input. You may adjust the minimum probability threshold for reporting SQLs as malicious using the slider below.',
|
| 127 |
additional_inputs=[
|
| 128 |
gr.Slider(minimum=0.01, maximum=0.99, value=0.75, step=0.01, label="Detection Probability Threshold "),
|
| 129 |
],
|