Spaces:
Runtime error
Runtime error
JinHyeong99
commited on
Commit
ยท
cf15f5b
1
Parent(s):
a87c3be
app.py
CHANGED
@@ -25,8 +25,8 @@ def predict(image):
|
|
25 |
# Gradio ์ธํฐํ์ด์ค ์์ฑ
|
26 |
demo = gr.Interface(
|
27 |
fn=predict,
|
28 |
-
inputs=gr.inputs.Image(shape=(400, 600)),
|
29 |
-
outputs=gr.outputs.Image(),
|
30 |
examples=["image1.jpg", "image2.jpg", "image3.jpg"] # ์ธ ๊ฐ์ ์์ ์ด๋ฏธ์ง ๊ฒฝ๋ก
|
31 |
)
|
32 |
|
|
|
25 |
# Gradio ์ธํฐํ์ด์ค ์์ฑ
|
26 |
demo = gr.Interface(
|
27 |
fn=predict,
|
28 |
+
inputs=gr.inputs.Image(shape=(400, 600), type='pil'),
|
29 |
+
outputs=gr.outputs.Image(type='pil'),
|
30 |
examples=["image1.jpg", "image2.jpg", "image3.jpg"] # ์ธ ๊ฐ์ ์์ ์ด๋ฏธ์ง ๊ฒฝ๋ก
|
31 |
)
|
32 |
|