Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -342,7 +342,7 @@ with block:
|
|
342 |
radio = gr.CheckboxGroup(value="Violent", choices=["Violent", "Hate Speech", "Misinformation"],
|
343 |
interactive=False, label="Behaviour To Block")
|
344 |
|
345 |
-
slider = gr.Slider(value=
|
346 |
|
347 |
chatbot = gr.Chatbot(value=chat_history, label="Watchtower Output").style()
|
348 |
btn = gr.Button("Run WatchTower").style(full_width=True)
|
|
|
342 |
radio = gr.CheckboxGroup(value="Violent", choices=["Violent", "Hate Speech", "Misinformation"],
|
343 |
interactive=False, label="Behaviour To Block")
|
344 |
|
345 |
+
slider = gr.Slider(value=15, interactive=True, label="Threshold Certainty Tolerance")
|
346 |
|
347 |
chatbot = gr.Chatbot(value=chat_history, label="Watchtower Output").style()
|
348 |
btn = gr.Button("Run WatchTower").style(full_width=True)
|