mrm8488 commited on
Commit
aa24955
1 Parent(s): 85e8ba7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -20,7 +20,7 @@ def prediction(header, text):
20
  gradio_ui = gr.Interface(
21
  fn=prediction,
22
  title="Fake News Detector (Spanish)",
23
- description="Enter some text and check if it is Real or Fake",
24
  inputs=[
25
  gr.inputs.Textbox(lines=1, label="Type/Paste your headline here"),
26
  gr.inputs.Textbox(lines=6, label="Type/Paste the article body here"),
@@ -28,9 +28,7 @@ gradio_ui = gr.Interface(
28
  outputs=[
29
  gr.outputs.Textbox(label="Label"),
30
  gr.outputs.Textbox(label="Score"),
31
- ],
32
- examples=[
33
- ],
34
  )
35
 
36
  gradio_ui.launch()
 
20
  gradio_ui = gr.Interface(
21
  fn=prediction,
22
  title="Fake News Detector (Spanish)",
23
+ description="Type/Paste a post and check if it is Real or Fake",
24
  inputs=[
25
  gr.inputs.Textbox(lines=1, label="Type/Paste your headline here"),
26
  gr.inputs.Textbox(lines=6, label="Type/Paste the article body here"),
 
28
  outputs=[
29
  gr.outputs.Textbox(label="Label"),
30
  gr.outputs.Textbox(label="Score"),
31
+ ]
 
 
32
  )
33
 
34
  gradio_ui.launch()