Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -11,8 +11,7 @@ def upscale_image(input_image, radio_input):
|
|
11 |
|
12 |
# μΈν°νμ΄μ€ μ€λͺ
|
13 |
DESCRIPTION = """
|
14 |
-
|
15 |
-
β οΈ μ΄λ―Έμ§λ₯Ό νλνλ κ²μ΄ νμ νμ§μ ν₯μμν€λ κ²μ μλλλ€!
|
16 |
"""
|
17 |
|
18 |
# μ
μ€μΌμΌ λ 벨 μ ν λΌλμ€ λ²νΌ
|
@@ -21,9 +20,9 @@ radio_input = gr.Radio(label="μ
μ€μΌμΌ λ 벨 μ ν", choices=[2, 4, 6, 8,
|
|
21 |
# Gradio μΈν°νμ΄μ€ μ μ
|
22 |
demo = gr.Interface(
|
23 |
fn=upscale_image,
|
24 |
-
inputs=[gr.Image(label="μ
λ ₯ μ΄λ―Έμ§", type="numpy"), radio_input],
|
25 |
-
outputs=gr.Image(label="μ
μ€μΌμΌλ μ΄λ―Έμ§"),
|
26 |
-
title="
|
27 |
description=DESCRIPTION
|
28 |
)
|
29 |
|
|
|
11 |
|
12 |
# μΈν°νμ΄μ€ μ€λͺ
|
13 |
DESCRIPTION = """
|
14 |
+
μ΄λ―Έμ§μ ν¬κΈ°μ νμ§μ ν₯μμμΌ λ³΄μΈμ!
|
|
|
15 |
"""
|
16 |
|
17 |
# μ
μ€μΌμΌ λ 벨 μ ν λΌλμ€ λ²νΌ
|
|
|
20 |
# Gradio μΈν°νμ΄μ€ μ μ
|
21 |
demo = gr.Interface(
|
22 |
fn=upscale_image,
|
23 |
+
inputs=[gr.Image(label="μ
λ ₯ μ΄λ―Έμ§(Input Image)", type="numpy"), radio_input],
|
24 |
+
outputs=gr.Image(label="μ
μ€μΌμΌλ μ΄λ―Έμ§(Upscaled Image)"),
|
25 |
+
title="Image Upscaler",
|
26 |
description=DESCRIPTION
|
27 |
)
|
28 |
|