Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,12 +22,10 @@ def analyze_text(text):
|
|
| 22 |
|
| 23 |
# Gradio interface with soft theme, title, description, input examples, and output labels
|
| 24 |
gr.Interface(analyze_text,
|
| 25 |
-
"text",
|
| 26 |
-
"
|
| 27 |
title="Fake vs. True Text Analyzer",
|
| 28 |
description="Enter a piece of text to analyze whether it is likely fake or true.",
|
| 29 |
-
inputs=[gr.Textbox(label="Text", placeholder="Enter text here")],
|
| 30 |
examples=["Elon Musk is rich person", "Moon was discovered in 1908 by Cristiano Ronaldo"],
|
| 31 |
-
outputs="text",
|
| 32 |
theme="soft"
|
| 33 |
).launch()
|
|
|
|
| 22 |
|
| 23 |
# Gradio interface with soft theme, title, description, input examples, and output labels
|
| 24 |
gr.Interface(analyze_text,
|
| 25 |
+
inputs=[gr.Textbox(label="Text", placeholder="Enter text here")],
|
| 26 |
+
outputs="text",
|
| 27 |
title="Fake vs. True Text Analyzer",
|
| 28 |
description="Enter a piece of text to analyze whether it is likely fake or true.",
|
|
|
|
| 29 |
examples=["Elon Musk is rich person", "Moon was discovered in 1908 by Cristiano Ronaldo"],
|
|
|
|
| 30 |
theme="soft"
|
| 31 |
).launch()
|