Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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="
|
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()
|