lite_metadata: | |
gradio_version: 3.36.1 | |
liteobj_version: 0.0.7 | |
class_string: gradio.interface.Interface | |
kwargs: | |
title: Gradio Webapp | |
description: '' | |
article: null | |
thumbnail: null | |
theme: gradio/seafoam | |
css: null | |
allow_flagging: never | |
inputs: | |
- class_string: gradio.components.dataframe.Dataframe | |
kwargs: | |
label: nums | |
type: array | |
outputs: | |
- class_string: gradio.components.dataframe.Dataframe | |
kwargs: | |
label: output | |
type: array | |
fn: | |
class_string: gradify.closure | |
kwargs: | |
argmaps: | |
- label: nums | |
postprocessing: 'lambda array: list(map(int, array[0]))' | |
func_kwargs: {} | |
source: "def find_duplicates(nums):\n seen = set()\n duplicates = []\n\ | |
\ for num in nums:\n if num in seen:\n duplicates.append(num)\n\ | |
\ else:\n seen.add(num)\n return duplicates" | |