doevent commited on
Commit
f1db938
·
verified ·
1 Parent(s): ca683cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,7 +48,7 @@ with demo:
48
  Image_input = gr.Image(type="numpy", label="Input", interactive=True)
49
  Image_anchor = gr.Image(type="numpy", label="Anchor", interactive=True, visible=False)
50
  with gr.Row():
51
- Num_anchor = gr.Number(type="int", value=8, label="Num. of anchors (3~14)")
52
  Radio_resolution = gr.Radio(type="index", choices=["Low (256x256)", "High (512x512)"], \
53
  label="Colorization resolution (Low is more stable)", value="Low (256x256)")
54
  with gr.Row():
 
48
  Image_input = gr.Image(type="numpy", label="Input", interactive=True)
49
  Image_anchor = gr.Image(type="numpy", label="Anchor", interactive=True, visible=False)
50
  with gr.Row():
51
+ Num_anchor = gr.Number(precision=0, value=8, label="Num. of anchors (3~14)")
52
  Radio_resolution = gr.Radio(type="index", choices=["Low (256x256)", "High (512x512)"], \
53
  label="Colorization resolution (Low is more stable)", value="Low (256x256)")
54
  with gr.Row():