omarelsayeed commited on
Commit
308a301
1 Parent(s): 3a61263

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ import torch
10
  from transformers import LayoutLMv3ForTokenClassification
11
  from transformers import AutoProcessor
12
  from transformers import AutoModelForTokenClassification
13
- quant=True
14
  if quant:
15
  finetuned_fully = LayoutLMv3ForTokenClassification.from_pretrained("omarelsayeed/ArabicLayoutReader_4bit" , load_in_4bit=True)
16
  else:
 
10
  from transformers import LayoutLMv3ForTokenClassification
11
  from transformers import AutoProcessor
12
  from transformers import AutoModelForTokenClassification
13
+ quant=False
14
  if quant:
15
  finetuned_fully = LayoutLMv3ForTokenClassification.from_pretrained("omarelsayeed/ArabicLayoutReader_4bit" , load_in_4bit=True)
16
  else: