Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ iface = gr.Interface(
|
|
33 |
fn=classify_image,
|
34 |
inputs=gr.Image(
|
35 |
label="Input Image",
|
36 |
-
|
37 |
type="numpy", # pass as numpy array to your function
|
38 |
height=HEIGHT, # set display height :contentReference[oaicite:0]{index=0}
|
39 |
width=WIDTH # set display width :contentReference[oaicite:1]{index=1}
|
|
|
33 |
fn=classify_image,
|
34 |
inputs=gr.Image(
|
35 |
label="Input Image",
|
36 |
+
sources="upload", # or "sketchpad", "webcam"
|
37 |
type="numpy", # pass as numpy array to your function
|
38 |
height=HEIGHT, # set display height :contentReference[oaicite:0]{index=0}
|
39 |
width=WIDTH # set display width :contentReference[oaicite:1]{index=1}
|