Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -239,10 +239,6 @@ with demo:
|
|
| 239 |
)
|
| 240 |
submit_button = gr.Button("🤗 Submit Eval 💻")
|
| 241 |
submission_result = gr.Markdown()
|
| 242 |
-
submit_button.click(
|
| 243 |
-
fn=submit_to_endpoint,
|
| 244 |
-
inputs=[model_name_textbox, revision_name_textbox, model_type, hw_type, terms, precision, weight_type, training_infra, affiliation, base_model_name_textbox],
|
| 245 |
-
outputs=submission_result
|
| 246 |
)
|
| 247 |
with gr.Column():
|
| 248 |
precision = gr.Dropdown(
|
|
@@ -279,6 +275,11 @@ with demo:
|
|
| 279 |
info = """ Select "No Affiliation" if not part of any Intel programs.""",
|
| 280 |
)
|
| 281 |
base_model_name_textbox = gr.Textbox(label="Base model (for delta or adapter weights)")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 282 |
|
| 283 |
|
| 284 |
|
|
|
|
| 239 |
)
|
| 240 |
submit_button = gr.Button("🤗 Submit Eval 💻")
|
| 241 |
submission_result = gr.Markdown()
|
|
|
|
|
|
|
|
|
|
|
|
|
| 242 |
)
|
| 243 |
with gr.Column():
|
| 244 |
precision = gr.Dropdown(
|
|
|
|
| 275 |
info = """ Select "No Affiliation" if not part of any Intel programs.""",
|
| 276 |
)
|
| 277 |
base_model_name_textbox = gr.Textbox(label="Base model (for delta or adapter weights)")
|
| 278 |
+
|
| 279 |
+
submit_button.click(
|
| 280 |
+
fn=submit_to_endpoint,
|
| 281 |
+
inputs=[model_name_textbox, revision_name_textbox, model_type, hw_type, terms, precision, weight_type, training_infra, affiliation, base_model_name_textbox],
|
| 282 |
+
outputs=submission_result
|
| 283 |
|
| 284 |
|
| 285 |
|