huangshiyu
commited on
Commit
•
bbe9753
1
Parent(s):
d64c69d
update
Browse files
app.py
CHANGED
@@ -31,6 +31,7 @@ def add_new_eval(
|
|
31 |
model_name_textbox: str,
|
32 |
revision_name_textbox: str,
|
33 |
model_link: str,
|
|
|
34 |
LLM_type: str,
|
35 |
LLM_name_textbox: str,
|
36 |
):
|
@@ -68,7 +69,8 @@ def add_new_eval(
|
|
68 |
# add new data
|
69 |
new_data = [
|
70 |
model_name,
|
71 |
-
LLM_name
|
|
|
72 |
]
|
73 |
for key in TASK_INFO:
|
74 |
if key in upload_data:
|
@@ -204,6 +206,9 @@ with block:
|
|
204 |
model_link = gr.Textbox(
|
205 |
label="Model Link", placeholder="https://cogvlm2-video.github.io/"
|
206 |
)
|
|
|
|
|
|
|
207 |
|
208 |
|
209 |
with gr.Column():
|
@@ -218,7 +223,7 @@ with block:
|
|
218 |
model_name_textbox,
|
219 |
revision_name_textbox,
|
220 |
model_link,
|
221 |
-
|
222 |
LLM_type,
|
223 |
LLM_name_textbox,
|
224 |
],
|
|
|
31 |
model_name_textbox: str,
|
32 |
revision_name_textbox: str,
|
33 |
model_link: str,
|
34 |
+
model_date:str,
|
35 |
LLM_type: str,
|
36 |
LLM_name_textbox: str,
|
37 |
):
|
|
|
69 |
# add new data
|
70 |
new_data = [
|
71 |
model_name,
|
72 |
+
LLM_name,
|
73 |
+
model_date
|
74 |
]
|
75 |
for key in TASK_INFO:
|
76 |
if key in upload_data:
|
|
|
206 |
model_link = gr.Textbox(
|
207 |
label="Model Link", placeholder="https://cogvlm2-video.github.io/"
|
208 |
)
|
209 |
+
model_date = gr.Textbox(
|
210 |
+
label="Model Date", placeholder="2024/8/22"
|
211 |
+
)
|
212 |
|
213 |
|
214 |
with gr.Column():
|
|
|
223 |
model_name_textbox,
|
224 |
revision_name_textbox,
|
225 |
model_link,
|
226 |
+
model_date,
|
227 |
LLM_type,
|
228 |
LLM_name_textbox,
|
229 |
],
|