Upload folder using huggingface_hub
Browse files- __pycache__/gradify.cpython-310.pyc +0 -0
- demo.yaml +13 -14
__pycache__/gradify.cpython-310.pyc
CHANGED
Binary files a/__pycache__/gradify.cpython-310.pyc and b/__pycache__/gradify.cpython-310.pyc differ
|
|
demo.yaml
CHANGED
@@ -2,8 +2,11 @@ lite_metadata:
|
|
2 |
gradio_version: 3.32.0
|
3 |
class_string: gradio.interface.Interface
|
4 |
kwargs:
|
5 |
-
title:
|
6 |
-
description:
|
|
|
|
|
|
|
7 |
article: null
|
8 |
thumbnail: null
|
9 |
theme: gradio/seafoam
|
@@ -12,32 +15,28 @@ kwargs:
|
|
12 |
inputs:
|
13 |
class_string: liteobj.listify
|
14 |
args:
|
15 |
-
- class_string: gradio.components.
|
16 |
kwargs:
|
17 |
-
label:
|
18 |
-
|
19 |
-
kwargs:
|
20 |
-
label: image2
|
21 |
outputs:
|
22 |
class_string: liteobj.listify
|
23 |
args:
|
24 |
-
- class_string: gradio.components.
|
25 |
kwargs:
|
26 |
label: output
|
|
|
27 |
fn:
|
28 |
class_string: gradify.gradify_closure
|
29 |
kwargs:
|
30 |
argmaps:
|
31 |
class_string: liteobj.listify
|
32 |
args:
|
33 |
-
- label:
|
34 |
-
postprocessing: null
|
35 |
-
- label: image2
|
36 |
postprocessing: null
|
37 |
func_kwargs: {}
|
38 |
ldict:
|
39 |
class_string: gradify.exec_to_dict
|
40 |
kwargs:
|
41 |
-
source: "
|
42 |
-
\
|
43 |
-
\ img1 == img2\n"
|
|
|
2 |
gradio_version: 3.32.0
|
3 |
class_string: gradio.interface.Interface
|
4 |
kwargs:
|
5 |
+
title: gitio app
|
6 |
+
description: 'Given a pandas dataframe of strings, append “hello world” to all values
|
7 |
+
in the first row.
|
8 |
+
|
9 |
+
'
|
10 |
article: null
|
11 |
thumbnail: null
|
12 |
theme: gradio/seafoam
|
|
|
15 |
inputs:
|
16 |
class_string: liteobj.listify
|
17 |
args:
|
18 |
+
- class_string: gradio.components.Dataframe
|
19 |
kwargs:
|
20 |
+
label: df
|
21 |
+
type: pandas
|
|
|
|
|
22 |
outputs:
|
23 |
class_string: liteobj.listify
|
24 |
args:
|
25 |
+
- class_string: gradio.components.Dataframe
|
26 |
kwargs:
|
27 |
label: output
|
28 |
+
type: pandas
|
29 |
fn:
|
30 |
class_string: gradify.gradify_closure
|
31 |
kwargs:
|
32 |
argmaps:
|
33 |
class_string: liteobj.listify
|
34 |
args:
|
35 |
+
- label: df
|
|
|
|
|
36 |
postprocessing: null
|
37 |
func_kwargs: {}
|
38 |
ldict:
|
39 |
class_string: gradify.exec_to_dict
|
40 |
kwargs:
|
41 |
+
source: "import pandas as pd\n\n\ndef append_hello_world(df):\n df.iloc[0]\
|
42 |
+
\ = df.iloc[0].apply(lambda x: x + 'hello world')\n return df\n"
|
|