Spaces:
Runtime error
Runtime error
Andrea Seveso
commited on
Commit
·
24de386
1
Parent(s):
ff797f9
Move column submission
Browse files
app.py
CHANGED
|
@@ -154,6 +154,10 @@ with demo:
|
|
| 154 |
model_name_textbox = gr.Textbox(label="Model name")
|
| 155 |
revision_name_textbox = gr.Textbox(
|
| 156 |
label="Revision commit", placeholder="main")
|
|
|
|
|
|
|
|
|
|
|
|
|
| 157 |
model_type = gr.Dropdown(
|
| 158 |
choices=[t.to_str(" : ")
|
| 159 |
for t in ModelType if t != ModelType.Unknown],
|
|
@@ -163,10 +167,6 @@ with demo:
|
|
| 163 |
interactive=True,
|
| 164 |
)
|
| 165 |
|
| 166 |
-
with gr.Column():
|
| 167 |
-
base_model_name_textbox = gr.Textbox(
|
| 168 |
-
label="Base model (for delta or adapter weights)")
|
| 169 |
-
|
| 170 |
submit_button = gr.Button("Submit Eval")
|
| 171 |
submission_result = gr.Markdown()
|
| 172 |
submit_button.click(
|
|
|
|
| 154 |
model_name_textbox = gr.Textbox(label="Model name")
|
| 155 |
revision_name_textbox = gr.Textbox(
|
| 156 |
label="Revision commit", placeholder="main")
|
| 157 |
+
|
| 158 |
+
with gr.Column():
|
| 159 |
+
base_model_name_textbox = gr.Textbox(
|
| 160 |
+
label="Base model (for delta or adapter weights)")
|
| 161 |
model_type = gr.Dropdown(
|
| 162 |
choices=[t.to_str(" : ")
|
| 163 |
for t in ModelType if t != ModelType.Unknown],
|
|
|
|
| 167 |
interactive=True,
|
| 168 |
)
|
| 169 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 170 |
submit_button = gr.Button("Submit Eval")
|
| 171 |
submission_result = gr.Markdown()
|
| 172 |
submit_button.click(
|