Dekonstruktio commited on
Commit
c0b7ee4
·
verified ·
1 Parent(s): cfc8d59

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -19
app.py CHANGED
@@ -66,25 +66,7 @@ with demo:
66
  outputs=Image_output)
67
 
68
  ## guiline
69
- gr.Markdown(value="""
70
- **Guideline**
71
- 1. Upload your image or select one from the examples.
72
- 2. Set up the arguments: "Num. of anchors" and "Colorization resolution".
73
- 3. Run the colorization (two modes supported):
74
- - Automatic mode: **Click** "Colorize" to get the automatically colorized output.
75
- - Editable mode: **Check** ""Show editable anchors"; **Click** "Predict anchors"; **Redraw** the anchor colors (only anchor region will be used); **Click** "Colorize" to get the result.
76
- """)
77
- if RUN_MODE != "local":
78
- gr.Examples(examples=[
79
- ['01.jpg', 8, "Low (256x256)"],
80
- ['02.jpg', 8, "Low (256x256)"],
81
- ['03.jpg', 8, "Low (256x256)"],
82
- ['04.jpg', 8, "Low (256x256)"],
83
- ],
84
- inputs=[Image_input,Num_anchor,Radio_resolution], outputs=[Image_output], label="Examples", cache_mode="lazy",)
85
- gr.HTML(value="""
86
- <p style="text-align:center; color:orange"><a href='https://menghanxia.github.io/projects/disco.html' target='_blank'>DISCO Project Page</a> | <a href='https://github.com/MenghanXia/DisentangledColorization' target='_blank'>Github Repo</a></p>
87
- """)
88
 
89
 
90
  if RUN_MODE == "local":
 
66
  outputs=Image_output)
67
 
68
  ## guiline
69
+ gr.Markdown(value=""" """)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
 
71
 
72
  if RUN_MODE == "local":