Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -527,15 +527,15 @@ with block:
|
|
527 |
gr.Markdown(TABLE_INTRODUCTION)
|
528 |
|
529 |
# 复选框
|
530 |
-
checkbox_group = gr.CheckboxGroup(
|
531 |
-
|
532 |
-
|
533 |
-
|
534 |
-
|
535 |
-
)
|
536 |
|
537 |
-
with gr.Row():
|
538 |
-
|
539 |
|
540 |
# 显示 DataFrame
|
541 |
data_component = gr.Dataframe(
|
@@ -556,15 +556,15 @@ with block:
|
|
556 |
gr.Markdown(TABLE_INTRODUCTION)
|
557 |
|
558 |
# 复选框
|
559 |
-
checkbox_group = gr.CheckboxGroup(
|
560 |
-
|
561 |
-
|
562 |
-
|
563 |
-
|
564 |
-
)
|
565 |
|
566 |
-
with gr.Row():
|
567 |
-
|
568 |
|
569 |
# 显示 DataFrame
|
570 |
data_component = gr.Dataframe(
|
@@ -586,15 +586,15 @@ with block:
|
|
586 |
gr.Markdown(TABLE_INTRODUCTION)
|
587 |
|
588 |
# 复选框
|
589 |
-
checkbox_group = gr.CheckboxGroup(
|
590 |
-
|
591 |
-
|
592 |
-
|
593 |
-
|
594 |
-
)
|
595 |
|
596 |
-
with gr.Row():
|
597 |
-
|
598 |
|
599 |
# 显示 DataFrame
|
600 |
data_component = gr.Dataframe(
|
@@ -608,78 +608,78 @@ with block:
|
|
608 |
with gr.TabItem("📝 About", elem_id="mvbench-tab-table", id=3):
|
609 |
gr.Markdown(LEADERBORAD_INFO, elem_classes="markdown-text")
|
610 |
|
611 |
-
with gr.TabItem("🚀 Submit here! ", elem_id="mvbench-i2v-tab-table", id=5):
|
612 |
-
|
613 |
|
614 |
with gr.Row():
|
615 |
gr.Markdown(SUBMIT_INTRODUCTION, elem_classes="markdown-text")
|
616 |
|
617 |
-
with gr.Row():
|
618 |
-
|
619 |
-
|
620 |
-
with gr.Row():
|
621 |
-
|
622 |
-
with gr.Row():
|
623 |
-
|
624 |
-
|
625 |
-
|
626 |
-
|
627 |
-
|
628 |
-
|
629 |
-
|
630 |
-
|
631 |
-
|
632 |
-
|
633 |
-
|
634 |
-
|
635 |
-
|
636 |
-
|
637 |
-
|
638 |
-
|
639 |
-
|
640 |
-
|
641 |
-
|
642 |
-
|
643 |
-
with gr.Row():
|
644 |
-
|
645 |
-
with gr.Row():
|
646 |
-
|
647 |
-
|
648 |
-
|
649 |
-
|
650 |
-
|
651 |
-
|
652 |
-
|
653 |
-
|
654 |
-
with gr.Column():
|
655 |
-
|
656 |
-
|
657 |
-
|
658 |
-
|
659 |
|
660 |
|
661 |
-
|
662 |
-
|
663 |
-
|
664 |
-
|
665 |
-
|
666 |
-
|
667 |
-
|
668 |
-
|
669 |
-
|
670 |
-
|
671 |
-
|
672 |
-
|
673 |
-
|
674 |
-
|
675 |
-
|
676 |
-
|
677 |
-
|
678 |
-
|
679 |
-
|
680 |
-
|
681 |
-
|
682 |
-
|
683 |
|
684 |
|
685 |
|
|
|
527 |
gr.Markdown(TABLE_INTRODUCTION)
|
528 |
|
529 |
# 复选框
|
530 |
+
# checkbox_group = gr.CheckboxGroup(
|
531 |
+
# choices=choices_from_csv,
|
532 |
+
# value=choices_from_csv, # 默认全选
|
533 |
+
# label="Evaluation Dimension",
|
534 |
+
# interactive=True,
|
535 |
+
# )
|
536 |
|
537 |
+
# with gr.Row():
|
538 |
+
# checkbox_group
|
539 |
|
540 |
# 显示 DataFrame
|
541 |
data_component = gr.Dataframe(
|
|
|
556 |
gr.Markdown(TABLE_INTRODUCTION)
|
557 |
|
558 |
# 复选框
|
559 |
+
# checkbox_group = gr.CheckboxGroup(
|
560 |
+
# choices=choices_from_csv,
|
561 |
+
# value=choices_from_csv, # 默认全选
|
562 |
+
# label="Evaluation Dimension",
|
563 |
+
# interactive=True,
|
564 |
+
# )
|
565 |
|
566 |
+
# with gr.Row():
|
567 |
+
# checkbox_group
|
568 |
|
569 |
# 显示 DataFrame
|
570 |
data_component = gr.Dataframe(
|
|
|
586 |
gr.Markdown(TABLE_INTRODUCTION)
|
587 |
|
588 |
# 复选框
|
589 |
+
# checkbox_group = gr.CheckboxGroup(
|
590 |
+
# choices=choices_from_csv,
|
591 |
+
# value=choices_from_csv, # 默认全选
|
592 |
+
# label="Evaluation Dimension",
|
593 |
+
# interactive=True,
|
594 |
+
# )
|
595 |
|
596 |
+
# with gr.Row():
|
597 |
+
# checkbox_group
|
598 |
|
599 |
# 显示 DataFrame
|
600 |
data_component = gr.Dataframe(
|
|
|
608 |
with gr.TabItem("📝 About", elem_id="mvbench-tab-table", id=3):
|
609 |
gr.Markdown(LEADERBORAD_INFO, elem_classes="markdown-text")
|
610 |
|
611 |
+
# with gr.TabItem("🚀 Submit here! ", elem_id="mvbench-i2v-tab-table", id=5):
|
612 |
+
# gr.Markdown(LEADERBORAD_INTRODUCTION, elem_classes="markdown-text")
|
613 |
|
614 |
with gr.Row():
|
615 |
gr.Markdown(SUBMIT_INTRODUCTION, elem_classes="markdown-text")
|
616 |
|
617 |
+
# with gr.Row():
|
618 |
+
# gr.Markdown("# ✉️✨ Submit your i2v model evaluation json file here!", elem_classes="markdown-text")
|
619 |
+
|
620 |
+
# with gr.Row():
|
621 |
+
# gr.Markdown("Here is a required field", elem_classes="markdown-text")
|
622 |
+
# with gr.Row():
|
623 |
+
# with gr.Column():
|
624 |
+
# model_name_textbox_i2v = gr.Textbox(
|
625 |
+
# label="Model name", placeholder="Required field"
|
626 |
+
# )
|
627 |
+
# revision_name_textbox_i2v = gr.Textbox(
|
628 |
+
# label="Revision Model Name(Optional)", placeholder="If you need to update the previous results, please fill in this line"
|
629 |
+
# )
|
630 |
+
# access_type_i2v = gr.Dropdown(["Open Source", "Ready to Open Source", "API", "Close"], label="Please select the way user can access your model. You can update the content by revision_name, or contact the VBench Team.")
|
631 |
+
|
632 |
+
|
633 |
+
# with gr.Column():
|
634 |
+
# model_link_i2v = gr.Textbox(
|
635 |
+
# label="Project Page/Paper Link/Github/HuggingFace Repo", placeholder="Required field. If filling in the wrong information, your results may be removed."
|
636 |
+
# )
|
637 |
+
# team_name_i2v = gr.Textbox(
|
638 |
+
# label="Your Team Name(If left blank, it will be user upload)", placeholder="User Upload"
|
639 |
+
# )
|
640 |
+
# contact_email_i2v = gr.Textbox(
|
641 |
+
# label="E-Mail(Will not be displayed)", placeholder="Required field"
|
642 |
+
# )
|
643 |
+
# with gr.Row():
|
644 |
+
# gr.Markdown("The following is optional and will be synced to [GitHub] (https://github.com/Vchitect/VBench/tree/master/sampled_videos#what-are-the-details-of-the-video-generation-models)", elem_classes="markdown-text")
|
645 |
+
# with gr.Row():
|
646 |
+
# release_time_i2v = gr.Textbox(label="Time of Publish", placeholder="1970-01-01")
|
647 |
+
# model_resolution_i2v = gr.Textbox(label="resolution", )#placeholder="Width x Height")
|
648 |
+
# model_fps_i2v = gr.Textbox(label="model fps", placeholder="FPS(int)")
|
649 |
+
# model_frame_i2v = gr.Textbox(label="model frame count", placeholder="INT")
|
650 |
+
# model_video_length_i2v = gr.Textbox(label="model video length", placeholder="float(2.0)")
|
651 |
+
# model_checkpoint_i2v = gr.Textbox(label="model checkpoint", placeholder="optional")
|
652 |
+
# model_commit_id_i2v = gr.Textbox(label="github commit id", placeholder='main')
|
653 |
+
# model_video_format_i2v = gr.Textbox(label="pipeline format", placeholder='mp4')
|
654 |
+
# with gr.Column():
|
655 |
+
# input_file_i2v = gr.components.File(label = "Click to Upload a ZIP File", file_count="single", type='binary')
|
656 |
+
# submit_button_i2v = gr.Button("Submit Eval")
|
657 |
+
# submit_succ_button_i2v = gr.Markdown("Submit Success! Please press refresh and retfurn to LeaderBoard!", visible=False)
|
658 |
+
# fail_textbox_i2v = gr.Markdown('<span style="color:red;">Please ensure that the `Model Name`, `Project Page`, and `Email` are filled in correctly.</span>', elem_classes="markdown-text",visible=False)
|
659 |
|
660 |
|
661 |
+
# submission_result_i2v = gr.Markdown()
|
662 |
+
# submit_button_i2v.click(
|
663 |
+
# add_new_eval_i2v,
|
664 |
+
# inputs = [
|
665 |
+
# input_file_i2v,
|
666 |
+
# model_name_textbox_i2v,
|
667 |
+
# revision_name_textbox_i2v,
|
668 |
+
# model_link_i2v,
|
669 |
+
# team_name_i2v,
|
670 |
+
# contact_email_i2v,
|
671 |
+
# release_time_i2v,
|
672 |
+
# access_type_i2v,
|
673 |
+
# model_resolution_i2v,
|
674 |
+
# model_fps_i2v,
|
675 |
+
# model_frame_i2v,
|
676 |
+
# model_video_length_i2v,
|
677 |
+
# model_checkpoint_i2v,
|
678 |
+
# model_commit_id_i2v,
|
679 |
+
# model_video_format_i2v
|
680 |
+
# ],
|
681 |
+
# outputs=[submit_button_i2v, submit_succ_button_i2v, fail_textbox_i2v]
|
682 |
+
# )
|
683 |
|
684 |
|
685 |
|