File size: 906 Bytes
58093f0
2c04c89
39529ec
58093f0
 
c7b3e86
2c04c89
58093f0
 
5cd0396
58093f0
 
df32adb
2c04c89
7e26dac
2c04c89
 
7e26dac
2c04c89
39529ec
 
2c04c89
58093f0
2ea8fe3
58093f0
df32adb
2c04c89
 
58093f0
2c04c89
 
 
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.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"