akdeniz27 commited on
Commit
f236dbc
1 Parent(s): c25daa5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -2,6 +2,7 @@ import gradio as gr
2
  # from PIL import Image
3
  from transformers import Pix2StructForConditionalGeneration, Pix2StructProcessor
4
 
 
5
  model = Pix2StructForConditionalGeneration.from_pretrained("google/pix2struct-docvqa-large")
6
  processor = Pix2StructProcessor.from_pretrained("google/pix2struct-docvqa-large")
7
 
 
2
  # from PIL import Image
3
  from transformers import Pix2StructForConditionalGeneration, Pix2StructProcessor
4
 
5
+
6
  model = Pix2StructForConditionalGeneration.from_pretrained("google/pix2struct-docvqa-large")
7
  processor = Pix2StructProcessor.from_pretrained("google/pix2struct-docvqa-large")
8