Spaces:
Configuration error
Configuration error
Download app.py from LanguageBind/Open-Sora-Plan-v1.1.0: direct link, hf CLI and curl.
- Browser
- Download file 319 Bytes
-
https://huggingface.co/spaces/LanguageBind/Open-Sora-Plan-v1.1.0/resolve/main/app.py
- Command line
-
hf download hf://spaces/LanguageBind/Open-Sora-Plan-v1.1.0/app.py
-
curl -L -o app.py https://huggingface.co/spaces/LanguageBind/Open-Sora-Plan-v1.1.0/resolve/main/app.py
319 Bytes
| import os | |
| import sys | |
| #os.system('pip install -e .') | |
| current_path = os.path.abspath(__file__) | |
| print('current_path', current_path) | |
| parent_path = os.path.dirname(current_path) | |
| print('parent_path', parent_path) | |
| sys.path.append(parent_path) | |
| print('sys.path', sys.path) | |
| os.system('python opensora/serve/gradio_web_server.py') |