Spaces:
Runtime error
Runtime error
seawolf2357
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -39,5 +39,20 @@ iface = gr.Interface(
|
|
39 |
description="์ด๋ฏธ์ง๋ฅผ ์
๋ก๋ํ๋ฉด, ์ฌ๋ฌผ์ ์ธ์ํ๊ณ ํด๋นํ๋ ์์ฑ์ ์์ฑํฉ๋๋ค."
|
40 |
)
|
41 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
# ์ธํฐํ์ด์ค ์คํ
|
43 |
iface.launch()
|
|
|
39 |
description="์ด๋ฏธ์ง๋ฅผ ์
๋ก๋ํ๋ฉด, ์ฌ๋ฌผ์ ์ธ์ํ๊ณ ํด๋นํ๋ ์์ฑ์ ์์ฑํฉ๋๋ค."
|
40 |
)
|
41 |
|
42 |
+
|
43 |
+
examples = [["./dog.png"]]
|
44 |
+
gr.Examples(
|
45 |
+
examples = examples,
|
46 |
+
inputs=[image_input],
|
47 |
+
outputs=[uploaded_image],
|
48 |
+
fn=infer,
|
49 |
+
cache_examples=True
|
50 |
+
)
|
51 |
+
run_button.click(fn=infer,
|
52 |
+
inputs=[image_input],
|
53 |
+
outputs=[uploaded_image])
|
54 |
+
|
55 |
+
demo.launch()
|
56 |
+
|
57 |
# ์ธํฐํ์ด์ค ์คํ
|
58 |
iface.launch()
|