Spaces:
Running on Zero
Running on Zero
File size: 324 Bytes
7f9dfed | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | from __future__ import annotations
import sys
from pathlib import Path
sys.path.insert(0, str(Path(__file__).resolve().parents[1]))
from app import build_app
def main() -> None:
demo = build_app()
try:
print(type(demo).__name__)
finally:
demo.close()
if __name__ == "__main__":
main()
|