Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -55,7 +55,7 @@ iface_text = gr.Interface(
|
|
| 55 |
|
| 56 |
iface_image = gr.Interface(
|
| 57 |
fn=detect_fake_news_image,
|
| 58 |
-
inputs=gr.
|
| 59 |
outputs=gr.Textbox(label="Analysis result"),
|
| 60 |
title="Fake News Detection (Image)",
|
| 61 |
description="Detect fake news from image using Gemini API."
|
|
|
|
| 55 |
|
| 56 |
iface_image = gr.Interface(
|
| 57 |
fn=detect_fake_news_image,
|
| 58 |
+
inputs=gr.Image(type="file", label="Upload Image"),
|
| 59 |
outputs=gr.Textbox(label="Analysis result"),
|
| 60 |
title="Fake News Detection (Image)",
|
| 61 |
description="Detect fake news from image using Gemini API."
|