Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,7 +31,7 @@ def analyze_news(text, image):
|
|
| 31 |
# Configure Gradio interface
|
| 32 |
interface = gr.Interface(
|
| 33 |
fn=analyze_news,
|
| 34 |
-
inputs=[gr.
|
| 35 |
outputs="text",
|
| 36 |
title="News Analysis with Gemini",
|
| 37 |
description="Analyze potential biases or misleading information in news articles."
|
|
|
|
| 31 |
# Configure Gradio interface
|
| 32 |
interface = gr.Interface(
|
| 33 |
fn=analyze_news,
|
| 34 |
+
inputs=[gr.Image(type="pil")],
|
| 35 |
outputs="text",
|
| 36 |
title="News Analysis with Gemini",
|
| 37 |
description="Analyze potential biases or misleading information in news articles."
|