Spaces:
Runtime error
Runtime error
fix rest_num
Browse files
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():
|