Carb91's picture
Fix Gradio launch theme compatibility for HF runtime
26ebad3
raw
history blame contribute delete
232 Bytes
from pathlib import Path
import sys
APP_DIR = Path(__file__).resolve().parent / "app"
if str(APP_DIR) not in sys.path:
sys.path.insert(0, str(APP_DIR))
from main import launch_app
if __name__ == "__main__":
launch_app()