Spaces:
Runtime error
Runtime error
jaekookang
commited on
Commit
·
6ea602d
1
Parent(s):
25376a6
update minor
Browse files- .gitignore +1 -2
- README.md +1 -30
- gradio_painttransformer.py +1 -1
.gitignore
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
__pycache__
|
2 |
*.log
|
3 |
*.pdparams
|
4 |
-
*.mp4
|
5 |
-
*.gif
|
|
|
1 |
__pycache__
|
2 |
*.log
|
3 |
*.pdparams
|
4 |
+
*.mp4
|
|
README.md
CHANGED
@@ -19,33 +19,4 @@ pinned: false
|
|
19 |
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
|
20 |
```
|
21 |
- Instead, using `imageio` make gif file as output
|
22 |
-
|
23 |
-
|
24 |
-
# Configuration
|
25 |
-
|
26 |
-
`title`: _string_
|
27 |
-
Display title for the Space
|
28 |
-
|
29 |
-
`emoji`: _string_
|
30 |
-
Space emoji (emoji-only character allowed)
|
31 |
-
|
32 |
-
`colorFrom`: _string_
|
33 |
-
Color for Thumbnail gradient (red, yellow, green, blue, indigo, purple, pink, gray)
|
34 |
-
|
35 |
-
`colorTo`: _string_
|
36 |
-
Color for Thumbnail gradient (red, yellow, green, blue, indigo, purple, pink, gray)
|
37 |
-
|
38 |
-
`sdk`: _string_
|
39 |
-
Can be either `gradio` or `streamlit`
|
40 |
-
|
41 |
-
`sdk_version` : _string_
|
42 |
-
Only applicable for `streamlit` SDK.
|
43 |
-
See [doc](https://hf.co/docs/hub/spaces) for more info on supported versions.
|
44 |
-
|
45 |
-
`app_file`: _string_
|
46 |
-
Path to your main application file (which contains either `gradio` or `streamlit` Python code).
|
47 |
-
Path is relative to the root of the repository.
|
48 |
-
|
49 |
-
`pinned`: _boolean_
|
50 |
-
Whether the Space stays on top of your list.
|
51 |
-
|
|
|
19 |
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
|
20 |
```
|
21 |
- Instead, using `imageio` make gif file as output
|
22 |
+
- Uploaded on HuggingFace Spaces (https://huggingface.co/spaces/jkang/demo-painttransformer)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
gradio_painttransformer.py
CHANGED
@@ -75,7 +75,7 @@ def predict(image_file):
|
|
75 |
iface = gr.Interface(
|
76 |
predict,
|
77 |
title='🎨 Paint Transformer',
|
78 |
-
description='This demo converts an image into a sequence of painted images (takes about
|
79 |
inputs=[
|
80 |
gr.inputs.Image(label='Input image', type='filepath')
|
81 |
],
|
|
|
75 |
iface = gr.Interface(
|
76 |
predict,
|
77 |
title='🎨 Paint Transformer',
|
78 |
+
description='This demo converts an image into a sequence of painted images (takes about 2 min ^^;)',
|
79 |
inputs=[
|
80 |
gr.inputs.Image(label='Input image', type='filepath')
|
81 |
],
|