File size: 902 Bytes
58093f0 39529ec 58093f0 c7b3e86 4b029cc 58093f0 5cd0396 58093f0 df32adb 4b029cc 7e26dac 4b029cc 7e26dac 39529ec 7e26dac 58093f0 df32adb 4b029cc 58093f0 4b029cc |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
lite_metadata:
gradio_version: 3.32.0
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
kwargs:
label: nums
type: array
outputs:
- class_string: gradio.components.Dataframe
kwargs:
label: output
type: array
fn:
class_string: gradify.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 = set()\n\
\ for num in nums:\n if num in seen:\n duplicates.add(num)\n\
\ else:\n seen.add(num)\n return list(duplicates)\n"
|