TideDra commited on
Commit
3f4e51f
1 Parent(s): 38601f1

fix rest_num

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -87,7 +87,7 @@ with gr.Blocks() as demo:
87
  image = gr.Image()
88
  with gr.Column():
89
  image_path = gr.State()
90
- rest_num = gr.Markdown(label="rest_num")
91
  name = gr.Textbox(label="Your Name",placeholder="Set your name here to mark your annotations")
92
  text = gr.Textbox(label="Caption",lines=20)
93
  with gr.Row():
 
87
  image = gr.Image()
88
  with gr.Column():
89
  image_path = gr.State()
90
+ rest_num = gr.Markdown(label="rest_num",value=f"Number of samples to be annotated: {len(dataset)}")
91
  name = gr.Textbox(label="Your Name",placeholder="Set your name here to mark your annotations")
92
  text = gr.Textbox(label="Caption",lines=20)
93
  with gr.Row():