lite_metadata: gradio_version: 3.32.0 liteobj_version: 0.0.7 class_string: gradio.interface.Interface kwargs: title: Gradio Webapp description: Given list of strings, create regex to extract dates article: null thumbnail: null theme: gradio/seafoam css: null allow_flagging: never inputs: - class_string: gradio.components.Dataframe kwargs: label: strings type: array outputs: - class_string: gradio.components.Dataframe kwargs: label: output type: array fn: class_string: gradify.gradify_closure kwargs: argmaps: - label: strings postprocessing: 'lambda array: list(map(str, array[0]))' func_kwargs: {} source: "import re\n\n\ndef extract_dates(strings):\n regex = '\\\\d{1,2}/\\\ \\d{1,2}/\\\\d{4}'\n dates = []\n for string in strings:\n matches\ \ = re.findall(regex, string)\n dates.extend(matches)\n return dates\n"