gitio-app / demo.yaml
lint's picture
Upload folder using huggingface_hub
386c3cc
raw
history blame
1.08 kB
lite_metadata:
gradio_version: 3.32.0
class_string: gradio.interface.Interface
kwargs:
title: gitio app
description: 'Given a pandas dataframe of strings, append “hello world” to all values
in the first row.
'
article: null
thumbnail: null
theme: gradio/seafoam
css: null
allow_flagging: never
inputs:
class_string: liteobj.listify
args:
- class_string: gradio.components.Dataframe
kwargs:
label: df
type: pandas
outputs:
class_string: liteobj.listify
args:
- class_string: gradio.components.Dataframe
kwargs:
label: output
type: pandas
fn:
class_string: gradify.gradify_closure
kwargs:
argmaps:
class_string: liteobj.listify
args:
- label: df
postprocessing: null
func_kwargs: {}
ldict:
class_string: gradify.exec_to_dict
kwargs:
source: "import pandas as pd\n\n\ndef append_hello_world(df):\n df.iloc[0]\
\ = df.iloc[0].apply(lambda x: x + 'hello world')\n return df\n"