gudada commited on
Commit
993c304
·
verified ·
1 Parent(s): a420fb3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -0
app.py CHANGED
@@ -109,6 +109,19 @@ def colorize(img):
109
 
110
  # Gradio demo using the Image-Slider custom component
111
  with gr.Blocks() as demo:
 
 
 
 
 
 
 
 
 
 
 
 
 
112
  with gr.Row():
113
  with gr.Column():
114
  bw_image = gr.Image(label='Black and White Input Image')
 
109
 
110
  # Gradio demo using the Image-Slider custom component
111
  with gr.Blocks() as demo:
112
+ # 添加标题
113
+ demo.markdown("公众号古哒哒研究所")
114
+
115
+ # 添加描述
116
+ demo.markdown("""
117
+ ## DDcolor Demo
118
+ 此演示界面由微信公众号:古哒哒研究所提供。
119
+
120
+ ## 使用说明
121
+ - 上传一张黑白照片.
122
+ - 点击生成按钮.
123
+ - 等待彩色照片生成.
124
+ """)
125
  with gr.Row():
126
  with gr.Column():
127
  bw_image = gr.Image(label='Black and White Input Image')