Update README.md
Browse files
README.md
CHANGED
@@ -59,7 +59,7 @@ Once saved, you can push your converted model with the following snippet:
|
|
59 |
from transformers import Pix2StructForConditionalGeneration, Pix2StructProcessor
|
60 |
|
61 |
model = Pix2StructForConditionalGeneration.from_pretrained(PATH_TO_SAVE)
|
62 |
-
processor = Pix2StructProcessor.from_pretrained(
|
63 |
|
64 |
model.push_to_hub("USERNAME/MODEL_NAME")
|
65 |
processor.push_to_hub("USERNAME/MODEL_NAME")
|
|
|
59 |
from transformers import Pix2StructForConditionalGeneration, Pix2StructProcessor
|
60 |
|
61 |
model = Pix2StructForConditionalGeneration.from_pretrained(PATH_TO_SAVE)
|
62 |
+
processor = Pix2StructProcessor.from_pretrained(PATH_TO_SAVE)
|
63 |
|
64 |
model.push_to_hub("USERNAME/MODEL_NAME")
|
65 |
processor.push_to_hub("USERNAME/MODEL_NAME")
|