Spaces:
Running
Running
File size: 554 Bytes
f5af141 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
from pathlib import Path
# β¨ Gradio 4 : ν΄λμ€ μμ±(js_path / css_path)λ§ μ§μ νλ©΄ λ!
from .workflowbuilder import WorkflowBuilder, WorkflowAnalyzer
COMP_DIR = Path(__file__).parent / "templates" / "component"
# βΆ νλ°νΈμλ λ²λ€ κ²½λ‘ λ±λ‘
WorkflowBuilder.js_path = str(COMP_DIR / "index.js")
# (μ€νμΌ νμΌλͺ
μ μ°λ κ²½μ°μλ§)
WorkflowBuilder.css_path = str(COMP_DIR / "styles.css") # μμΌλ©΄ μ΄ μ€ μμ
# μΈλΆμμ import ν μ μλλ‘ λ
ΈμΆ
__all__ = ["WorkflowBuilder", "WorkflowAnalyzer"] |