QATALY_STS_DS / app.py
cw-fulmark's picture
Fix Hugging Face import path
8200e82
Raw
History Blame Contribute Delete
264 Bytes
import os
import sys
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
SRC_DIR = os.path.join(ROOT_DIR, "src")
if SRC_DIR not in sys.path:
sys.path.insert(0, SRC_DIR)
from qatalyst.ui.gradio_app import demo
if __name__ == "__main__":
demo.launch()