Spaces:
Runtime error
Runtime error
update to new model
Browse files
app.py
CHANGED
@@ -150,12 +150,12 @@ if st.button("Parse sample! 🐍"):
|
|
150 |
|
151 |
elif information == "Mid res new 0 epoch":
|
152 |
processor = DonutProcessor.from_pretrained(
|
153 |
-
"Jac-Zac/
|
154 |
#revision="4d64fa9a156908aa3df0e0e39463d401528a15c9",
|
155 |
use_auth_token=os.environ["TOKEN"],
|
156 |
)
|
157 |
pretrained_model = VisionEncoderDecoderModel.from_pretrained(
|
158 |
-
"Jac-Zac/
|
159 |
#revision="4d64fa9a156908aa3df0e0e39463d401528a15c9",
|
160 |
use_auth_token=os.environ["TOKEN"],
|
161 |
)
|
|
|
150 |
|
151 |
elif information == "Mid res new 0 epoch":
|
152 |
processor = DonutProcessor.from_pretrained(
|
153 |
+
"Jac-Zac/thesis_donut",
|
154 |
#revision="4d64fa9a156908aa3df0e0e39463d401528a15c9",
|
155 |
use_auth_token=os.environ["TOKEN"],
|
156 |
)
|
157 |
pretrained_model = VisionEncoderDecoderModel.from_pretrained(
|
158 |
+
"Jac-Zac/thesis_donut",
|
159 |
#revision="4d64fa9a156908aa3df0e0e39463d401528a15c9",
|
160 |
use_auth_token=os.environ["TOKEN"],
|
161 |
)
|