Spaces:
Runtime error
Runtime error
Atchyuteswar
commited on
Commit
•
7d1da90
1
Parent(s):
b00c0c3
Update app.py
Browse files
app.py
CHANGED
@@ -47,7 +47,7 @@ def detect_fake_news_image(image):
|
|
47 |
# Define Gradio interfaces
|
48 |
iface_text = gr.Interface(
|
49 |
fn=detect_fake_news_text,
|
50 |
-
|
51 |
outputs=gr.outputs.Textbox(label="Analysis result"), # Textbox output for result
|
52 |
title="Fake News Detection (Text)",
|
53 |
description="Detect fake news from text using Gemini API."
|
|
|
47 |
# Define Gradio interfaces
|
48 |
iface_text = gr.Interface(
|
49 |
fn=detect_fake_news_text,
|
50 |
+
input=gr.inputs.Textbox(lines=10, label="Enter text to analyze"), # Textbox input for text
|
51 |
outputs=gr.outputs.Textbox(label="Analysis result"), # Textbox output for result
|
52 |
title="Fake News Detection (Text)",
|
53 |
description="Detect fake news from text using Gemini API."
|