Spaces:
Running
on
T4
Running
on
T4
Update app.py
Browse files
app.py
CHANGED
@@ -30,8 +30,8 @@ image, preprocessed_image = utils.load_image_from_url(
|
|
30 |
model_type="dino"
|
31 |
)
|
32 |
if uploaded_file:
|
33 |
-
image = Image.open(
|
34 |
-
preprocessed_image = utils.preprocess_image(image,
|
35 |
|
36 |
st.image(image, caption="Original Image")
|
37 |
|
|
|
30 |
model_type="dino"
|
31 |
)
|
32 |
if uploaded_file:
|
33 |
+
image = Image.open(uploaded_file)
|
34 |
+
preprocessed_image = utils.preprocess_image(image, "dino")
|
35 |
|
36 |
st.image(image, caption="Original Image")
|
37 |
|