Spaces:
Runtime error
Runtime error
Chemsseddine
commited on
Commit
•
b5d9f9f
1
Parent(s):
1a5ca8a
Update app.py
Browse files
app.py
CHANGED
@@ -103,7 +103,7 @@ def process_image(image):
|
|
103 |
width, height = image.size
|
104 |
|
105 |
# create model input
|
106 |
-
encoding = processor(image
|
107 |
del encoding["pixel_values"]
|
108 |
# run inference
|
109 |
outputs = model(**encoding)
|
|
|
103 |
width, height = image.size
|
104 |
|
105 |
# create model input
|
106 |
+
encoding = processor(image)
|
107 |
del encoding["pixel_values"]
|
108 |
# run inference
|
109 |
outputs = model(**encoding)
|