Daniel Kantor
commited on
Commit
·
89ae2c4
1
Parent(s):
9475a6a
simplify model submission success page
Browse files
frontend/src/pages/AddModelPage/components/ModelSubmissionForm/ModelSubmissionForm.js
CHANGED
@@ -214,106 +214,9 @@ function ModelSubmissionForm({ user, isAuthenticated }) {
|
|
214 |
|
215 |
<Typography variant="body1">
|
216 |
Your model <strong>{submittedData.modelName}</strong> has been added
|
217 |
-
to the evaluation queue
|
218 |
</Typography>
|
219 |
|
220 |
-
<Paper
|
221 |
-
variant="outlined"
|
222 |
-
sx={{
|
223 |
-
p: 2,
|
224 |
-
borderColor: "divider",
|
225 |
-
}}
|
226 |
-
>
|
227 |
-
<Stack spacing={1.5}>
|
228 |
-
<Stack direction="row" spacing={2}>
|
229 |
-
<Typography
|
230 |
-
variant="body2"
|
231 |
-
color="text.secondary"
|
232 |
-
sx={{ width: 120 }}
|
233 |
-
>
|
234 |
-
Model:
|
235 |
-
</Typography>
|
236 |
-
<Typography variant="body2" sx={{ fontFamily: "monospace" }}>
|
237 |
-
{submittedData.modelName}
|
238 |
-
</Typography>
|
239 |
-
</Stack>
|
240 |
-
<Stack direction="row" spacing={2}>
|
241 |
-
<Typography
|
242 |
-
variant="body2"
|
243 |
-
color="text.secondary"
|
244 |
-
sx={{ width: 120 }}
|
245 |
-
>
|
246 |
-
Type:
|
247 |
-
</Typography>
|
248 |
-
<Typography variant="body2">
|
249 |
-
{submittedData.modelType}
|
250 |
-
</Typography>
|
251 |
-
</Stack>
|
252 |
-
<Stack direction="row" spacing={2}>
|
253 |
-
<Typography
|
254 |
-
variant="body2"
|
255 |
-
color="text.secondary"
|
256 |
-
sx={{ width: 120 }}
|
257 |
-
>
|
258 |
-
Revision:
|
259 |
-
</Typography>
|
260 |
-
<Typography variant="body2" sx={{ fontFamily: "monospace" }}>
|
261 |
-
{submittedData.revision}
|
262 |
-
</Typography>
|
263 |
-
</Stack>
|
264 |
-
<Stack direction="row" spacing={2}>
|
265 |
-
<Typography
|
266 |
-
variant="body2"
|
267 |
-
color="text.secondary"
|
268 |
-
sx={{ width: 120 }}
|
269 |
-
>
|
270 |
-
Precision:
|
271 |
-
</Typography>
|
272 |
-
<Typography variant="body2">
|
273 |
-
{submittedData.precision}
|
274 |
-
</Typography>
|
275 |
-
</Stack>
|
276 |
-
<Stack direction="row" spacing={2}>
|
277 |
-
<Typography
|
278 |
-
variant="body2"
|
279 |
-
color="text.secondary"
|
280 |
-
sx={{ width: 120 }}
|
281 |
-
>
|
282 |
-
Weight type:
|
283 |
-
</Typography>
|
284 |
-
<Typography variant="body2">
|
285 |
-
{submittedData.weightsType}
|
286 |
-
</Typography>
|
287 |
-
</Stack>
|
288 |
-
{submittedData.baseModel && (
|
289 |
-
<Stack direction="row" spacing={2}>
|
290 |
-
<Typography
|
291 |
-
variant="body2"
|
292 |
-
color="text.secondary"
|
293 |
-
sx={{ width: 120 }}
|
294 |
-
>
|
295 |
-
Base model:
|
296 |
-
</Typography>
|
297 |
-
<Typography variant="body2">
|
298 |
-
{submittedData.baseModel}
|
299 |
-
</Typography>
|
300 |
-
</Stack>
|
301 |
-
)}
|
302 |
-
<Stack direction="row" spacing={2}>
|
303 |
-
<Typography
|
304 |
-
variant="body2"
|
305 |
-
color="text.secondary"
|
306 |
-
sx={{ width: 120 }}
|
307 |
-
>
|
308 |
-
Chat template:
|
309 |
-
</Typography>
|
310 |
-
<Typography variant="body2">
|
311 |
-
{submittedData.useChatTemplate ? "Yes" : "No"}
|
312 |
-
</Typography>
|
313 |
-
</Stack>
|
314 |
-
</Stack>
|
315 |
-
</Paper>
|
316 |
-
|
317 |
<Typography variant="body2" color="text.secondary">
|
318 |
An automatic upvote has been added to your model to help with
|
319 |
prioritization.
|
|
|
214 |
|
215 |
<Typography variant="body1">
|
216 |
Your model <strong>{submittedData.modelName}</strong> has been added
|
217 |
+
to the evaluation queue.
|
218 |
</Typography>
|
219 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
220 |
<Typography variant="body2" color="text.secondary">
|
221 |
An automatic upvote has been added to your model to help with
|
222 |
prioritization.
|