akhaliq HF staff commited on
Commit
f0c73f1
1 Parent(s): 1e425d2

update layout

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -22,13 +22,13 @@ def infer(image):
22
 
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()
 
22
 
23
 
24
  with gr.Blocks() as demo:
25
+ title= gr.Markdown("""
26
+ # Gradio Demo for [DCT-Net: Domain-Calibrated Translation for Portrait Stylization](https://github.com/menyifang/DCT-Net), SIGGRAPH 2022 (TOG); Multi-style cartoonization
27
+ """
28
+ )
29
  with gr.Row():
 
 
 
 
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()