jaekookang
change cv to imageio
6bf7bb2
|
raw
history blame
No virus
1.41 kB
---
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.