Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -65,7 +65,7 @@ def do_process(img, baseline):
|
|
65 |
img_res = Image.open(buf)
|
66 |
return img_res, dctPreds
|
67 |
|
68 |
-
|
69 |
invert_colors=False, source="upload",
|
70 |
type="pil")
|
71 |
input_drop = gr.inputs.Dropdown(label='Baseline (default: random)',
|
|
|
65 |
img_res = Image.open(buf)
|
66 |
return img_res, dctPreds
|
67 |
|
68 |
+
input_im = gr.inputs.Image(shape=(224, 224), image_mode='RGB',
|
69 |
invert_colors=False, source="upload",
|
70 |
type="pil")
|
71 |
input_drop = gr.inputs.Dropdown(label='Baseline (default: random)',
|