File size: 1,409 Bytes
a871eb8
 
 
 
 
 
9ff1108
a871eb8
 
 
6bf7bb2
 
 
 
 
 
 
 
 
 
 
 
 
a871eb8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9ff1108
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---
title: Demo Painttransformer
emoji: 🏃
colorFrom: purple
colorTo: gray
sdk: gradio
app_file: gradio_painttransformer.py
pinned: false
---

- 2021-12-21 first created
    - opencv error:
        ```
        Traceback (most recent call last):
        File "gradio_painttransformer.py", line 12, in <module>
            import cv2
        File "/home/user/.local/lib/python3.8/site-packages/cv2/__init__.py", line 8, in <module>
            from .cv2 import *
        ImportError: libGL.so.1: cannot open shared object file: No such file or directory
        ```
    - Instead, using `imageio` make gif file as output


# Configuration

`title`: _string_  
Display title for the Space

`emoji`: _string_  
Space emoji (emoji-only character allowed)

`colorFrom`: _string_  
Color for Thumbnail gradient (red, yellow, green, blue, indigo, purple, pink, gray)

`colorTo`: _string_  
Color for Thumbnail gradient (red, yellow, green, blue, indigo, purple, pink, gray)

`sdk`: _string_  
Can be either `gradio` or `streamlit`

`sdk_version` : _string_  
Only applicable for `streamlit` SDK.  
See [doc](https://hf.co/docs/hub/spaces) for more info on supported versions.

`app_file`: _string_  
Path to your main application file (which contains either `gradio` or `streamlit` Python code).  
Path is relative to the root of the repository.

`pinned`: _boolean_  
Whether the Space stays on top of your list.