Spaces:
Sleeping
Sleeping
first commit image display
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ question = st.text_input("Type here one question on the image")
|
|
17 |
if uploaded_file is not None:
|
18 |
file_bytes = np.asarray(bytearray(uploaded_file.read()), dtype=np.uint8)
|
19 |
img = Image.fromarray(file_bytes)
|
20 |
-
st.image(img, caption="Here is the uploaded image", use_column_width=True)
|
21 |
|
22 |
encoding = processor(images=file_bytes, text=question, return_tensors="pt")
|
23 |
|
|
|
17 |
if uploaded_file is not None:
|
18 |
file_bytes = np.asarray(bytearray(uploaded_file.read()), dtype=np.uint8)
|
19 |
img = Image.fromarray(file_bytes)
|
20 |
+
# st.image(img, caption="Here is the uploaded image", use_column_width=True)
|
21 |
|
22 |
encoding = processor(images=file_bytes, text=question, return_tensors="pt")
|
23 |
|