Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- demo.yaml +2 -2
- gradify.py +1 -1
demo.yaml
CHANGED
@@ -3,7 +3,7 @@ lite_metadata:
|
|
3 |
liteobj_version: 0.0.7
|
4 |
class_string: gradio.interface.Interface
|
5 |
kwargs:
|
6 |
-
title:
|
7 |
description: Given a pandas dataframe, count the number of entries that contain
|
8 |
the substring 'hello world'
|
9 |
article: null
|
@@ -29,4 +29,4 @@ kwargs:
|
|
29 |
postprocessing: null
|
30 |
func_kwargs: {}
|
31 |
source: "import pandas as pd\n\n\ndef count_hello_world(df):\n return df.astype(str).apply(lambda\
|
32 |
-
\ x: x.str.contains('hello world')).sum(\n ).sum()"
|
|
|
3 |
liteobj_version: 0.0.7
|
4 |
class_string: gradio.interface.Interface
|
5 |
kwargs:
|
6 |
+
title: Gradio Webapp
|
7 |
description: Given a pandas dataframe, count the number of entries that contain
|
8 |
the substring 'hello world'
|
9 |
article: null
|
|
|
29 |
postprocessing: null
|
30 |
func_kwargs: {}
|
31 |
source: "import pandas as pd\n\n\ndef count_hello_world(df):\n return df.astype(str).apply(lambda\
|
32 |
+
\ x: x.str.contains('hello world')).sum(\n ).sum()\n"
|
gradify.py
CHANGED
@@ -31,4 +31,4 @@ def gradify_closure(source, argmaps, func_kwargs={}):
|
|
31 |
import gradio as gr
|
32 |
raise gr.Error(f"Error: {e}")
|
33 |
|
34 |
-
return gradify_func
|
|
|
31 |
import gradio as gr
|
32 |
raise gr.Error(f"Error: {e}")
|
33 |
|
34 |
+
return gradify_func
|