diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-04-09 01:06:26 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-04-09 01:06:26 +0200 |
commit | e09f5ff897543a93f561af68e3173050b1fe4b45 (patch) | |
tree | 47b2047eb0071f782e77ae030a97edbd17f47785 /rag/ui.py | |
parent | 73a4adb6d4161ea222ed1ba56413571892da73d6 (diff) |
Fix import order
Diffstat (limited to 'rag/ui.py')
-rw-r--r-- | rag/ui.py | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -1,13 +1,11 @@ import streamlit as st - +from dotenv import load_dotenv from langchain_community.document_loaders.blob_loaders import Blob -from dotenv import load_dotenv -from rag.generator import get_generator, MODELS +from rag.generator import MODELS, get_generator from rag.generator.prompt import Prompt from rag.retriever.retriever import Retriever - if __name__ == "__main__": load_dotenv() retriever = Retriever() |