import os import gradio as gr from assets.content import SUBMIT_TEXT, TEST_SCRIPT_TEXT, TEST_SET_TEXT from assets.path import SEASON def create_submit(): test_box = gr.Markdown(value=TEST_SET_TEXT, scale=4) test_file = gr.File(value=os.path.join("results", SEASON["latest"], "test_dataset.json"), label="Test Set", scale=1) script_box = gr.Markdown(value=TEST_SCRIPT_TEXT, scale=4) script_button = gr.File(value=os.path.join("assets/evaluation.py"), label="Test Set", scale=1) gr.Markdown(SUBMIT_TEXT)