Spaces:
Sleeping
Sleeping
File size: 439 Bytes
b74998d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
HuggingFace Space 入口文件
直接导入并运行 gradio_app_v8
"""
import sys
from pathlib import Path
# 添加 scripts 目录到 Python 路径
scripts_dir = Path(__file__).parent / "scripts"
sys.path.insert(0, str(scripts_dir))
# 导入并运行主应用
if __name__ == "__main__":
# 导入 gradio_app_v8(会自动启动 demo)
import gradio_app_v8
|