Update README.md
Browse files
README.md
CHANGED
@@ -60,6 +60,10 @@ model = PaliGemmaForConditionalGeneration.from_pretrained(
|
|
60 |
processor = AutoProcessor.from_pretrained(model_id)processor = AutoProcessor.from_pretrained(model_id)
|
61 |
|
62 |
### Model inputs and ouputs
|
|
|
|
|
|
|
|
|
63 |
prompt=f"""You are a news classifer AI assitant. You are given with a news article that contains headline, body text and image.
|
64 |
Your task is to analyze the headline, body text and image, and classify the news as biased or unbiased.
|
65 |
|
|
|
60 |
processor = AutoProcessor.from_pretrained(model_id)processor = AutoProcessor.from_pretrained(model_id)
|
61 |
|
62 |
### Model inputs and ouputs
|
63 |
+
headine="headline of the news article"
|
64 |
+
article="News body text"
|
65 |
+
img_path="Path of the image"
|
66 |
+
image=Image.open(img_path).convert('RGB')
|
67 |
prompt=f"""You are a news classifer AI assitant. You are given with a news article that contains headline, body text and image.
|
68 |
Your task is to analyze the headline, body text and image, and classify the news as biased or unbiased.
|
69 |
|