fix: upload status issues, and gif uploads

This commit is contained in:
BennyKok
2024-01-12 14:53:42 +08:00
parent 547d645a0c
commit ac6e863b95
3 changed files with 50 additions and 37 deletions
+3 -1
View File
@@ -23,7 +23,9 @@ export async function RunOutputs({ run_id }: { run_id: string }) {
<TableBody>
{outputs?.map((run) => {
const fileName =
run.data.images?.[0].filename || run.data.files?.[0].filename;
run.data.images?.[0].filename ||
run.data.files?.[0].filename ||
run.data.gifs?.[0].filename;
if (!fileName)
return (