Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ def sepia(input_img):
|
|
21 |
|
22 |
|
23 |
## https://www.gradio.app/docs/gradio/blocks
|
24 |
-
## required positional arguments: 'inputs' and 'outputs'
|
25 |
def process_image(image):
|
26 |
try:
|
27 |
pixel_values = processor(images=image, return_tensors="pt").pixel_values
|
|
|
21 |
|
22 |
|
23 |
## https://www.gradio.app/docs/gradio/blocks
|
24 |
+
## required positional arguments: 'inputs' and 'outputs'
|
25 |
def process_image(image):
|
26 |
try:
|
27 |
pixel_values = processor(images=image, return_tensors="pt").pixel_values
|