Jac-Zac commited on
Commit
aa01645
·
1 Parent(s): 6fdbc56

update to new model

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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/thesis_test_donut",
154
  #revision="4d64fa9a156908aa3df0e0e39463d401528a15c9",
155
  use_auth_token=os.environ["TOKEN"],
156
  )
157
  pretrained_model = VisionEncoderDecoderModel.from_pretrained(
158
- "Jac-Zac/thesis_test_donut",
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
  )