Exched commited on
Commit
a51e94e
·
verified ·
1 Parent(s): 1da4aa3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ def generate_response(prompt, explicit_filter):
24
  # Define Gradio interface
25
  iface = gr.Interface(
26
  fn=generate_response,
27
- inputs=[gr.inputs.Textbox(lines=2, placeholder="Type your message here..."), gr.inputs.Checkbox(label="Enable Explicit Content Filter")],
28
  outputs="text",
29
  title="Chatbot with Explicit Content Filter"
30
  )
 
24
  # Define Gradio interface
25
  iface = gr.Interface(
26
  fn=generate_response,
27
+ inputs=[gr.Textbox(lines=2, placeholder="Type your message here..."), gr.Checkbox(label="Enable Explicit Content Filter")],
28
  outputs="text",
29
  title="Chatbot with Explicit Content Filter"
30
  )