Spaces:
Running
Running
pratyushmaini
commited on
Commit
•
4fb4bd7
1
Parent(s):
2fc55c3
radio
Browse files
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 |
-
|
159 |
-
|
|
|
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 |
-
|
175 |
-
|
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,
|