deepaksarika01's picture
Create app.py
2415a29
raw
history blame
241 Bytes
from model import lamini, qa_template
from utils import getSubsText
VID_ID="dWqNgzZwVJQ"
llm_loader = lamini()
llm = llm_loader.load_model()
subs = getSubsText(VID_ID)
qa = qa_template(llm)
_ = qa.load(subs)
qa.start_gradio(title="TEST")