+ {nes.outputs.map((result, i) => {
+ if (result.type === 'string_output') {
+ return (
+
+ );
+ }
+ if (result.type === 'float_output') {
+ return (
+
+ );
+ }
+ if (result.type === 'integer_output') {
+ return (
+
+ );
+ }
+ if (result.type === 'image_output') {
+ return (
+
+ );
+ }
+ return (
+
+ {JSON.stringify(result, null, 2)}
+
+ );
+ })}
+
+