davidmasip commited on
Commit
9a13795
1 Parent(s): dbc82f4

Better examples

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -16,7 +16,7 @@ def racism_analysis(text):
16
  gradio_ui = gr.Interface(
17
  fn=racism_analysis,
18
  title="Racism Detector (Spanish)",
19
- description="Enter some text and check if model detects bullying.",
20
  inputs=[
21
  gr.inputs.Textbox(lines=5, label="Paste some text here"),
22
  ],
@@ -25,8 +25,8 @@ gradio_ui = gr.Interface(
25
  gr.outputs.Textbox(label="Score"),
26
  ],
27
  examples=[
28
- ["Eres mas alto que un pino y mas tonto que un pepino!"],
29
- ["Que divertida"]
30
  ],
31
  )
32
 
 
16
  gradio_ui = gr.Interface(
17
  fn=racism_analysis,
18
  title="Racism Detector (Spanish)",
19
+ description="Enter some text and check if model detects racism.",
20
  inputs=[
21
  gr.inputs.Textbox(lines=5, label="Paste some text here"),
22
  ],
 
25
  gr.outputs.Textbox(label="Score"),
26
  ],
27
  examples=[
28
+ ["Unos menas roban a una mujer"],
29
+ ["El gobierno levanta el confinamiento"]
30
  ],
31
  )
32