Spaces:
Sleeping
Sleeping
File size: 553 Bytes
f1e1ac2 99a5a4f 20894e3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
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 Script", scale=1)
gr.Markdown(SUBMIT_TEXT)
|