pratyushmaini commited on
Commit
4fb4bd7
1 Parent(s): 2fc55c3
Files changed (1) hide show
  1. app.py +5 -6
app.py CHANGED
@@ -153,10 +153,10 @@ with demo:
153
  with gr.Accordion("Submit a new model for evaluation"):
154
  with gr.Row():
155
  with gr.Column():
156
- level_of_test = gr.Radio(["validation", "test"], value="validation", label="Split")
157
  method_name_textbox = gr.Textbox(label="Method name")
158
- model_family_textbox = gr.Textbox(label="Model family")
159
- forget_rate_textbox = gr.Textbox(label="Forget Rate")
 
160
  url_textbox = gr.Textbox(label="Url to model information")
161
  with gr.Column():
162
  organisation = gr.Textbox(label="Organisation")
@@ -169,10 +169,9 @@ with demo:
169
  submit_button.click(
170
  add_new_eval,
171
  [
172
- level_of_test,
173
  method_name_textbox,
174
- model_family_textbox,
175
- forget_rate_textbox,
176
  url_textbox,
177
  file_output,
178
  organisation,
 
153
  with gr.Accordion("Submit a new model for evaluation"):
154
  with gr.Row():
155
  with gr.Column():
 
156
  method_name_textbox = gr.Textbox(label="Method name")
157
+ #llama, phi
158
+ model_family_radio = gr.Radio(["llama", "phi"], value="llama", label="Model family")
159
+ forget_rate_radio = gr.Radio(["1%", "5%", "10%"], value="10%", label="Forget rate")
160
  url_textbox = gr.Textbox(label="Url to model information")
161
  with gr.Column():
162
  organisation = gr.Textbox(label="Organisation")
 
169
  submit_button.click(
170
  add_new_eval,
171
  [
 
172
  method_name_textbox,
173
+ model_family_radio,
174
+ forget_rate_radio,
175
  url_textbox,
176
  file_output,
177
  organisation,