Spaces:
Runtime error
Runtime error
add title and move run button
Browse files
app.py
CHANGED
@@ -23,8 +23,12 @@ def infer(image):
|
|
23 |
|
24 |
with gr.Blocks() as demo:
|
25 |
with gr.Row():
|
|
|
|
|
|
|
|
|
26 |
image = gr.Image(label='Input', type='file')
|
27 |
-
run_button = gr.Button('Run')
|
28 |
result = gr.Image(label='Output')
|
|
|
29 |
run_button.click(fn=infer, inputs=image, outputs=result)
|
30 |
demo.launch()
|
|
|
23 |
|
24 |
with gr.Blocks() as demo:
|
25 |
with gr.Row():
|
26 |
+
title= gr.Markdown("""
|
27 |
+
# Gradio Demo for [DCT-Net: Domain-Calibrated Translation for Portrait Stylization](https://github.com/menyifang/DCT-Net), SIGGRAPH 2022 (TOG); Multi-style cartoonization
|
28 |
+
"""
|
29 |
+
)
|
30 |
image = gr.Image(label='Input', type='file')
|
|
|
31 |
result = gr.Image(label='Output')
|
32 |
+
run_button = gr.Button('Run')
|
33 |
run_button.click(fn=infer, inputs=image, outputs=result)
|
34 |
demo.launch()
|