lite_metadata: | |
gradio_version: 3.32.0 | |
liteobj_version: 0.0.7 | |
class_string: gradio.interface.Interface | |
kwargs: | |
title: Gradio Webapp | |
description: Given 2 arry find out the longer one | |
article: null | |
thumbnail: null | |
theme: gradio/seafoam | |
css: null | |
allow_flagging: never | |
inputs: | |
- class_string: gradio.components.Dataframe | |
kwargs: | |
label: arr1 | |
type: array | |
- class_string: gradio.components.Dataframe | |
kwargs: | |
label: arr2 | |
type: array | |
outputs: | |
- class_string: gradio.components.Dataframe | |
kwargs: | |
label: output | |
type: array | |
fn: | |
class_string: gradify.gradify_closure | |
kwargs: | |
argmaps: | |
- label: arr1 | |
postprocessing: 'lambda array: list(map(int, array[0]))' | |
- label: arr2 | |
postprocessing: 'lambda array: list(map(int, array[0]))' | |
func_kwargs: {} | |
source: "def longer_array(arr1, arr2):\n return arr1 if len(arr1) > len(arr2)\ | |
\ else arr2\n" | |