alejandroacho commited on
Commit
f4b450a
·
1 Parent(s): 5ca5453

add allow share

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -16,9 +16,8 @@ iface = gr.Interface(
16
  inputs=gr.Textbox(lines=2, placeholder="Introduce the text here..."),
17
  outputs=[gr.Text(label="Label"), gr.Number(label="Confidence")],
18
  title="NSFW Text Detector",
19
- description="This model detects NSFW content in text.",
20
- allow_flagging="never"
21
  )
22
 
23
  if __name__ == "__main__":
24
- iface.launch()
 
16
  inputs=gr.Textbox(lines=2, placeholder="Introduce the text here..."),
17
  outputs=[gr.Text(label="Label"), gr.Number(label="Confidence")],
18
  title="NSFW Text Detector",
19
+ description="This model detects NSFW content in text."
 
20
  )
21
 
22
  if __name__ == "__main__":
23
+ iface.launch(share=True)