Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import requests
|
2 |
from PIL import Image
|
3 |
from transformers import Pix2StructForConditionalGeneration, Pix2StructProcessor
|
|
|
4 |
|
5 |
|
6 |
image_url = "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/tasks/ai2d-demo.jpg"
|
|
|
1 |
import requests
|
2 |
from PIL import Image
|
3 |
from transformers import Pix2StructForConditionalGeneration, Pix2StructProcessor
|
4 |
+
import streamlit as st
|
5 |
|
6 |
|
7 |
image_url = "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/tasks/ai2d-demo.jpg"
|