Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
|