Kvikontent commited on
Commit
d01124e
·
verified ·
1 Parent(s): 49d4fd9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
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
- "label",
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()