Update app.py
Browse files
app.py
CHANGED
|
@@ -148,10 +148,7 @@ def upscale_image(
|
|
| 148 |
|
| 149 |
# Gradio ์ธํฐํ์ด์ค ์์ฑ
|
| 150 |
def create_interface():
|
| 151 |
-
with gr.Blocks(title="
|
| 152 |
-
gr.Markdown("# Clarity Upscaler - ์ด๋ฏธ์ง ํ์ง ๊ฐ์ ๋๊ตฌ")
|
| 153 |
-
gr.Markdown("Replicate์ Clarity Upscaler ๋ชจ๋ธ์ ์ฌ์ฉํ์ฌ ์ด๋ฏธ์ง์ ํ์ง์ ๊ฐ์ ํฉ๋๋ค.")
|
| 154 |
-
|
| 155 |
with gr.Row():
|
| 156 |
with gr.Column():
|
| 157 |
input_image = gr.Image(label="์๋ณธ ์ด๋ฏธ์ง", type="pil")
|
|
@@ -175,7 +172,7 @@ def create_interface():
|
|
| 175 |
sharpen = gr.Slider(minimum=0, maximum=2, value=0, step=0.1, label="์ ๋ช
๋")
|
| 176 |
seed = gr.Number(value=1337, label="์๋", precision=0)
|
| 177 |
|
| 178 |
-
submit_btn = gr.Button("
|
| 179 |
|
| 180 |
with gr.Column():
|
| 181 |
output_image = gr.Image(label="๊ฐ์ ๋ ์ด๋ฏธ์ง")
|
|
|
|
| 148 |
|
| 149 |
# Gradio ์ธํฐํ์ด์ค ์์ฑ
|
| 150 |
def create_interface():
|
| 151 |
+
with gr.Blocks(title="Test") as demo:
|
|
|
|
|
|
|
|
|
|
| 152 |
with gr.Row():
|
| 153 |
with gr.Column():
|
| 154 |
input_image = gr.Image(label="์๋ณธ ์ด๋ฏธ์ง", type="pil")
|
|
|
|
| 172 |
sharpen = gr.Slider(minimum=0, maximum=2, value=0, step=0.1, label="์ ๋ช
๋")
|
| 173 |
seed = gr.Number(value=1337, label="์๋", precision=0)
|
| 174 |
|
| 175 |
+
submit_btn = gr.Button("์คํํ", variant="primary")
|
| 176 |
|
| 177 |
with gr.Column():
|
| 178 |
output_image = gr.Image(label="๊ฐ์ ๋ ์ด๋ฏธ์ง")
|