Shiyu Zhao commited on
Commit
0cddc9b
·
1 Parent(s): 2fb2ae1

Update space

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -968,7 +968,7 @@ with gr.Blocks(css=css) as demo:
968
  """)
969
 
970
  with gr.Row():
971
- with gr.Column(scale=1):
972
  method_name = gr.Textbox(
973
  label="Method Name (max 25 chars)*",
974
  placeholder="e.g., MyRetrievalModel-v1"
@@ -1004,7 +1004,7 @@ with gr.Blocks(css=css) as demo:
1004
  )
1005
 
1006
 
1007
- with gr.Column(scale=1):
1008
  code_repo = gr.Textbox(
1009
  label="Code Repository*",
1010
  placeholder="https://github.com/snap-stanford/stark-leaderboard"
@@ -1014,9 +1014,10 @@ with gr.Blocks(css=css) as demo:
1014
  placeholder="e.g., 4x NVIDIA A100 80GB"
1015
  )
1016
  with gr.Row():
1017
- honor_code = gr.Checkbox(label="", value=False)
1018
- gr.Markdown("By submitting these results, you confirm that they are truthful and reproducible, and you verify the integrity of your submission.")
1019
-
 
1020
  csv_file = gr.File(
1021
  label="Prediction CSV*",
1022
  file_types=[".csv"],
 
968
  """)
969
 
970
  with gr.Row():
971
+ with gr.Column():
972
  method_name = gr.Textbox(
973
  label="Method Name (max 25 chars)*",
974
  placeholder="e.g., MyRetrievalModel-v1"
 
1004
  )
1005
 
1006
 
1007
+ with gr.Column():
1008
  code_repo = gr.Textbox(
1009
  label="Code Repository*",
1010
  placeholder="https://github.com/snap-stanford/stark-leaderboard"
 
1014
  placeholder="e.g., 4x NVIDIA A100 80GB"
1015
  )
1016
  with gr.Row():
1017
+ with gr.Column(scale=1): # Small scale for checkbox
1018
+ honor_code = gr.Checkbox(label="", value=False)
1019
+ with gr.Column(scale=10): # Much larger scale for text
1020
+ gr.Markdown("By submitting these results, you confirm that they are truthful and reproducible, and you verify the integrity of your submission.")
1021
  csv_file = gr.File(
1022
  label="Prediction CSV*",
1023
  file_types=[".csv"],