Upload folder using huggingface_hub
Browse files
demo.yaml
CHANGED
|
@@ -4,13 +4,16 @@ lite_metadata:
|
|
| 4 |
class_string: gradio.interface.Interface
|
| 5 |
kwargs:
|
| 6 |
title: gitio app
|
| 7 |
-
description:
|
| 8 |
article: null
|
| 9 |
thumbnail: null
|
| 10 |
theme: gradio/seafoam
|
| 11 |
css: null
|
| 12 |
allow_flagging: never
|
| 13 |
-
inputs:
|
|
|
|
|
|
|
|
|
|
| 14 |
outputs:
|
| 15 |
- class_string: gradio.components.Textbox
|
| 16 |
kwargs:
|
|
@@ -18,6 +21,8 @@ kwargs:
|
|
| 18 |
fn:
|
| 19 |
class_string: gradify.gradify_closure
|
| 20 |
kwargs:
|
| 21 |
-
argmaps:
|
|
|
|
|
|
|
| 22 |
func_kwargs: {}
|
| 23 |
-
source: "def
|
|
|
|
| 4 |
class_string: gradio.interface.Interface
|
| 5 |
kwargs:
|
| 6 |
title: gitio app
|
| 7 |
+
description: 'eddit the app react on input. print= Hello+"input" '
|
| 8 |
article: null
|
| 9 |
thumbnail: null
|
| 10 |
theme: gradio/seafoam
|
| 11 |
css: null
|
| 12 |
allow_flagging: never
|
| 13 |
+
inputs:
|
| 14 |
+
- class_string: gradio.components.Textbox
|
| 15 |
+
kwargs:
|
| 16 |
+
label: input
|
| 17 |
outputs:
|
| 18 |
- class_string: gradio.components.Textbox
|
| 19 |
kwargs:
|
|
|
|
| 21 |
fn:
|
| 22 |
class_string: gradify.gradify_closure
|
| 23 |
kwargs:
|
| 24 |
+
argmaps:
|
| 25 |
+
- label: input
|
| 26 |
+
postprocessing: null
|
| 27 |
func_kwargs: {}
|
| 28 |
+
source: "def edit_app(input):\n return 'Hello ' + input\n"
|