Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -186,7 +186,7 @@ def chat(message, history, sample_times, perturb_times,threshold):
|
|
186 |
with gr.ChatInterface(fn=chat, title="Gradient Cuff Stablelm-2-zephyr-1_6b",additional_inputs=[
|
187 |
gr.Slider(minimum=0, maximum=10, step=1, value=2, label="N - Sample times"),
|
188 |
gr.Slider(minimum=0, maximum=10, step=1, value=2, label="P - Perturb times"),
|
189 |
-
gr.Slider(minimum=0, maximum=
|
190 |
]
|
191 |
) as demo:
|
192 |
with gr.Tab("benign"):
|
|
|
186 |
with gr.ChatInterface(fn=chat, title="Gradient Cuff Stablelm-2-zephyr-1_6b",additional_inputs=[
|
187 |
gr.Slider(minimum=0, maximum=10, step=1, value=2, label="N - Sample times"),
|
188 |
gr.Slider(minimum=0, maximum=10, step=1, value=2, label="P - Perturb times"),
|
189 |
+
gr.Slider(minimum=0, maximum=1000, step=1, value=100, label="t - threshold")
|
190 |
]
|
191 |
) as demo:
|
192 |
with gr.Tab("benign"):
|