MiaoshouAI
commited on
Commit
•
2b28ce6
1
Parent(s):
2d5e6a5
Update README.md
Browse files
README.md
CHANGED
@@ -25,7 +25,6 @@ model = AutoModelForCausalLM.from_pretrained("MiaoshouAI/Florence-2-base-PromptG
|
|
25 |
processor = AutoProcessor.from_pretrained("MiaoshouAI/Florence-2-base-PromptGen", trust_remote_code=True)
|
26 |
|
27 |
prompt = "<GENERATE_PROMPT>"
|
28 |
-
question = "Describe everything you see in this image?"
|
29 |
|
30 |
url = "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/tasks/car.jpg?download=true"
|
31 |
image = Image.open(requests.get(url, stream=True).raw)
|
|
|
25 |
processor = AutoProcessor.from_pretrained("MiaoshouAI/Florence-2-base-PromptGen", trust_remote_code=True)
|
26 |
|
27 |
prompt = "<GENERATE_PROMPT>"
|
|
|
28 |
|
29 |
url = "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/tasks/car.jpg?download=true"
|
30 |
image = Image.open(requests.get(url, stream=True).raw)
|